File tree 4 files changed +19
-11
lines changed
4 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 1
- name : release
1
+ name : Release
2
2
3
3
on :
4
4
create :
@@ -10,21 +10,28 @@ jobs:
10
10
name : Release
11
11
runs-on : ubuntu-latest
12
12
steps :
13
+
13
14
- name : Create Release for new Tag
14
15
uses : marvinpinto/action-automatic-releases@latest
15
16
with :
16
17
title : TMDbAPIs ${{ github.event.ref }}
17
18
repo_token : ${{ secrets.PAT }}
18
19
prerelease : false
19
- - uses : actions/checkout@v3
20
+
21
+ - name : Check Out Repo
22
+ uses : actions/checkout@v4
23
+
20
24
- name : Set up Python
21
- uses : actions/setup-python@v2
25
+ uses : actions/setup-python@v5
22
26
with :
23
27
python-version : ' 3.x'
28
+
24
29
- name : Install dependencies
25
30
run : |
26
31
python -m pip install --upgrade pip
27
- pip install setuptools wheel twine
32
+ pip install wheel twine
33
+ pip install --no-cache-dir --upgrade --requirement requirements.txt
34
+
28
35
- name : Build and publish
29
36
env :
30
37
TWINE_USERNAME : __token__
Original file line number Diff line number Diff line change @@ -15,16 +15,17 @@ jobs:
15
15
16
16
steps :
17
17
- name : Checkout repo
18
- uses : actions/checkout@v3
18
+ uses : actions/checkout@v4
19
19
20
20
- name : Set up Python ${{ matrix.python-version }}
21
- uses : actions/setup-python@v4
21
+ uses : actions/setup-python@v5
22
22
with :
23
23
python-version : ${{ matrix.python-version }}
24
24
25
25
- name : Install Requirements
26
26
run : |
27
27
python -c "import sys; print(sys.version)"
28
+ pip install -r requirements.txt
28
29
pip install -r requirements-dev.txt
29
30
python setup.py install
30
31
@@ -51,10 +52,12 @@ jobs:
51
52
if : ${{ success() }}
52
53
needs : [run-tests]
53
54
steps :
54
- - uses : actions/checkout@v3
55
+
56
+ - uses : actions/checkout@v4
55
57
with :
56
58
token : ${{ secrets.PAT }}
57
59
fetch-depth : 2
60
+
58
61
59
62
with :
60
63
version-command : |
Original file line number Diff line number Diff line change 1
- 1.2.4
1
+ 1.2.5
Original file line number Diff line number Diff line change 1
- requests
2
- setuptools
3
1
pytest
4
2
pytest-cov
5
3
python-dotenv
6
- PyGithub == 2.1.1
4
+ PyGithub
You can’t perform that action at this time.
0 commit comments