Skip to content

Commit 3c64434

Browse files
askbGerrit Code Review
authored and
Gerrit Code Review
committed
Merge "Chore: Update GitHub actions for setup-python and artefact upload/download"
2 parents bee7c47 + 8f72e65 commit 3c64434

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.github/workflows/gerrit-verify.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
with:
7474
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
7575
- name: Configure Python
76-
uses: actions/setup-python@v4
76+
uses: actions/setup-python@v5
7777
with:
7878
python-version: '3.8'
7979
- name: Build package distribution files
@@ -85,7 +85,7 @@ jobs:
8585
- name: Store the distribution files for use in other stages
8686
# `tests` and `publish` will use the same pre-built distributions,
8787
# so we make sure to release the exact same package that was tested
88-
uses: actions/upload-artifact@v3
88+
uses: actions/upload-artifact@v4
8989
with:
9090
name: python-distribution-files
9191
path: dist/
@@ -100,7 +100,7 @@ jobs:
100100
with:
101101
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
102102
- name: Configure Python
103-
uses: actions/setup-python@v4
103+
uses: actions/setup-python@v5
104104
with:
105105
python-version: '3.8'
106106
- name: Run static analysis and format checkers
@@ -121,12 +121,12 @@ jobs:
121121
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
122122
delay: "0s"
123123
- name: Configure Python
124-
uses: actions/setup-python@v4
124+
uses: actions/setup-python@v5
125125
id: setup-python
126126
with:
127127
python-version: ${{ matrix.python }}
128128
- name: Retrieve pre-built distribution files
129-
uses: actions/download-artifact@v3
129+
uses: actions/download-artifact@v4
130130
with: {name: python-distribution-files, path: dist/}
131131
- name: Enable sar
132132
run: |
@@ -150,7 +150,7 @@ jobs:
150150
delay: "0s"
151151
fetch-depth: "0"
152152
- name: Configure Python
153-
uses: actions/setup-python@v4
153+
uses: actions/setup-python@v5
154154
id: setup-python
155155
with:
156156
python-version: "3.8"
@@ -170,7 +170,7 @@ jobs:
170170
delay: "0s"
171171
fetch-depth: "0"
172172
- name: Configure Python
173-
uses: actions/setup-python@v4
173+
uses: actions/setup-python@v5
174174
id: setup-python
175175
with:
176176
python-version: "3.8"
@@ -189,7 +189,7 @@ jobs:
189189
delay: "0s"
190190
fetch-depth: "0"
191191
- name: Configure Python
192-
uses: actions/setup-python@v4
192+
uses: actions/setup-python@v5
193193
id: setup-python
194194
with:
195195
python-version: "3.8"

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
1414
- name: Configure Python
15-
uses: actions/setup-python@v4
15+
uses: actions/setup-python@v5
1616
with:
1717
python-version: "3.8"
1818
- name: Build package distribution files
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
other:
3+
- |
4+
Update GitHub actions for setup-python and upload/download artefacts

0 commit comments

Comments
 (0)