Skip to content

Commit 50ffebb

Browse files
committed
Update github workflows
1 parent 50131c9 commit 50ffebb

File tree

4 files changed

+29
-21
lines changed

4 files changed

+29
-21
lines changed

.github/workflows/manual_test_build.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pythonVersion:
77
description: 'Python version to use for the processing'
88
required: true
9-
default: '3.8'
9+
default: '3.11'
1010
type: choice
1111
options:
1212
- 3.7
@@ -32,9 +32,11 @@ jobs:
3232
name: Check with LintRST and Build
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v4
36+
with:
37+
fetch-depth: 0
3638
- name: Set up Python ${{ inputs.pythonVersion }}
37-
uses: actions/setup-python@v1
39+
uses: actions/setup-python@v5
3840
with:
3941
python-version: ${{ inputs.pythonVersion }}
4042
- name: Install dependencies
@@ -52,7 +54,7 @@ jobs:
5254
run: |
5355
python ./setup.py build map
5456
- name: Store Tag Map Build Output File
55-
uses: actions/upload-artifact@v2
57+
uses: actions/upload-artifact@v4
5658
with:
5759
name: tag_map_files
5860
path: docs/MusicBrainz_Picard_Tag_Map.*
@@ -65,7 +67,7 @@ jobs:
6567
python ./setup.py clean html
6668
python ./setup.py ${{ env.MY_BUILD_ARG }} build html
6769
- name: Store HTML Build Output File
68-
uses: actions/upload-artifact@v2
70+
uses: actions/upload-artifact@v4
6971
with:
7072
name: html_files
7173
path: docs/*.zip
@@ -75,7 +77,7 @@ jobs:
7577
python ./setup.py clean epub
7678
python ./setup.py ${{ env.MY_BUILD_ARG }} build epub
7779
- name: Store ePub Build Output File
78-
uses: actions/upload-artifact@v2
80+
uses: actions/upload-artifact@v4
7981
with:
8082
name: epub_file
8183
path: docs/*.epub
@@ -95,7 +97,7 @@ jobs:
9597
python ./setup.py clean pdf
9698
python ./setup.py ${{ env.MY_BUILD_ARG }} build pdf
9799
- name: Store PDF Build Output File
98-
uses: actions/upload-artifact@v2
100+
uses: actions/upload-artifact@v4
99101
with:
100102
name: pdf_file
101103
path: docs/*.pdf

.github/workflows/test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ jobs:
3535
matrix:
3636
python-version: [3.11]
3737
steps:
38-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v4
39+
with:
40+
fetch-depth: 0
3941
- name: Set up Python ${{ matrix.python-version }}
40-
uses: actions/setup-python@v1
42+
uses: actions/setup-python@v5
4143
with:
4244
python-version: ${{ matrix.python-version }}
4345
- name: Install dependencies
@@ -55,7 +57,7 @@ jobs:
5557
run: |
5658
python ./setup.py build map
5759
- name: Store Tag Map Build Output File
58-
uses: actions/upload-artifact@v2
60+
uses: actions/upload-artifact@v4
5961
with:
6062
name: tag_map_files
6163
path: docs/MusicBrainz_Picard_Tag_Map.*
@@ -65,7 +67,7 @@ jobs:
6567
python ./setup.py clean html
6668
python ./setup.py build html
6769
- name: Store HTML Build Output File
68-
uses: actions/upload-artifact@v2
70+
uses: actions/upload-artifact@v4
6971
with:
7072
name: html_files
7173
path: docs/*.zip
@@ -75,7 +77,7 @@ jobs:
7577
python ./setup.py clean epub
7678
python ./setup.py build epub
7779
- name: Store ePub Build Output File
78-
uses: actions/upload-artifact@v2
80+
uses: actions/upload-artifact@v4
7981
with:
8082
name: epub_file
8183
path: docs/*.epub
@@ -95,7 +97,7 @@ jobs:
9597
python ./setup.py clean pdf
9698
python ./setup.py build pdf
9799
- name: Store PDF Build Output File
98-
uses: actions/upload-artifact@v2
100+
uses: actions/upload-artifact@v4
99101
with:
100102
name: pdf_file
101103
path: docs/*.pdf

.github/workflows/test_build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ jobs:
3737
matrix:
3838
python-version: [3.11]
3939
steps:
40-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v4
41+
with:
42+
fetch-depth: 0
4143
- name: Set up Python ${{ matrix.python-version }}
42-
uses: actions/setup-python@v1
44+
uses: actions/setup-python@v5
4345
with:
4446
python-version: ${{ matrix.python-version }}
4547
- name: Install dependencies
@@ -57,7 +59,7 @@ jobs:
5759
run: |
5860
python ./setup.py build map
5961
- name: Store Tag Map Build Output File
60-
uses: actions/upload-artifact@v2
62+
uses: actions/upload-artifact@v4
6163
with:
6264
name: tag_map_files
6365
path: docs/MusicBrainz_Picard_Tag_Map.*
@@ -70,7 +72,7 @@ jobs:
7072
python ./setup.py clean html
7173
python ./setup.py -l all build html
7274
- name: Store HTML Build Output Files
73-
uses: actions/upload-artifact@v2
75+
uses: actions/upload-artifact@v4
7476
with:
7577
name: html_files
7678
path: docs/*.zip
@@ -80,7 +82,7 @@ jobs:
8082
python ./setup.py clean epub
8183
python ./setup.py -l all build epub
8284
- name: Store ePub Build Output Files
83-
uses: actions/upload-artifact@v2
85+
uses: actions/upload-artifact@v4
8486
with:
8587
name: epub_files
8688
path: docs/*.epub
@@ -100,7 +102,7 @@ jobs:
100102
python ./setup.py clean pdf
101103
python ./setup.py -l all build pdf
102104
- name: Store PDF Build Output Files
103-
uses: actions/upload-artifact@v2
105+
uses: actions/upload-artifact@v4
104106
with:
105107
name: pdf_files
106108
path: docs/*.pdf

.github/workflows/test_build_publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ jobs:
3333
matrix:
3434
python-version: [3.11]
3535
steps:
36-
- uses: actions/checkout@v1
36+
- uses: actions/checkout@v4
37+
with:
38+
fetch-depth: 0
3739
- name: Set up Python ${{ matrix.python-version }}
38-
uses: actions/setup-python@v1
40+
uses: actions/setup-python@v5
3941
with:
4042
python-version: ${{ matrix.python-version }}
4143
- name: Install dependencies

0 commit comments

Comments
 (0)