8000 chore: update action versions (#267) · actions/python-versions@c990e6d · GitHub
[go: up one dir, main page]

Skip to content

Commit c990e6d

Browse files
authored
chore: update action versions (#267)
This removes Node.js 16 deprecation warnings
1 parent 521be20 commit c990e6d

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

.github/workflows/build-python-packages.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
steps:
7272

7373
- name: Check out repository code
74-
uses: actions/checkout@v3
74+
uses: actions/checkout@v4
7575
with:
7676
submodules: true
7777

@@ -81,10 +81,11 @@ jobs:
8181
-Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
8282
8383
- name: Publish artifact
84-
uses: actions/upload-artifact@v3
84+
uses: actions/upload-artifact@v4
8585
with:
8686
name: ${{ env.ARTIFACT_NAME }}
8787
path: ${{ runner.temp }}/artifact
88+
if-no-files-found: error
8889

8990
test_python:
9091
needs: [generate_matrix, build_python]
@@ -98,7 +99,7 @@ jobs:
9899
steps:
99100

100101
- name: Check out repository code
101-
uses: actions/checkout@v3
102+
uses: actions/checkout@v4
102103
with:
103104
submodules: true
104105

@@ -111,9 +112,10 @@ jobs:
111112
run: if [ -d /Library/Frameworks/Python.framework ]; then sudo rm -rf /Library/Frameworks/Python.framework; fi
112113

113114
- name: Download artifact
114-
uses: actions/download-artifact@v3
115+
uses: actions/download-artifact@v4
115116
with:
116-
path: ${{ runner.temp }}
117+
name: ${{ env.ARTIFACT_NAME }}
118+
path: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
117119

118120
- name: Extract files
119121
run: |
@@ -138,7 +140,7 @@ jobs:
138140
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
139141

140142
- name: Setup Python ${{ env.VERSION }}
141-
uses: actions/setup-python@v4
143+
uses: actions/setup-python@v5
142144
with:
143145
python-version: ${{ env.VERSION }}
144146
architecture: ${{ matrix.arch }}
@@ -176,7 +178,10 @@ jobs:
176178
needs: test_python
177179
runs-on: ubuntu-latest
178180
steps:
179-
- uses: actions/download-artifact@v3
181+
- uses: actions/download-artifact@v4
182+
with:
183+
pattern: python-*
184+
merge-multiple: true
180185

181186
- name: Publish Release ${{ env.VERSION }}
182187
id: create_release
@@ -202,7 +207,7 @@ jobs:
202207
}
203208
204209
- name: Upload release assets
205-
uses: actions/github-script@v6
210+
uses: actions/github-script@v7
206211
with:
207212
github-token: ${{ secrets.GITHUB_TOKEN }}
208213
script: |
@@ -226,7 +231,7 @@ jobs:
226231
runs-on: ubuntu-latest
227232
steps:
228233
- name: Trigger "Create Pull Request" workflow
229-
uses: actions/github-script@v6
234+
uses: actions/github-script@v7
230235
with:
231236
github-token: ${{ secrets.GITHUB_TOKEN }}
232237
script: |

.github/workflows/manifest-config-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
submodules: true
1717

.github/workflows/releases-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
python: [3.9.13, 3.10.11, 3.11.8]
1919
steps:
2020
- name: setup-python ${{ matrix.python }}
21-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ matrix.python }}
2424

0 commit comments

Comments
 (0)
0