Skip to content

Commit

Permalink
Chore: Update GitHub actions for setup-python and artefact upload/dow…
Browse files Browse the repository at this point in the history
…nload

Issue: RELENG-5176
Change-Id: Ib9703988106f6d4223e9c6d7035a8cf39c904f09
Signed-off-by: Matthew Watkins <[email protected]>
  • Loading branch information
ModeSevenIndustrialSolutions committed Mar 4, 2024
1 parent d18efac commit 8f72e65
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/gerrit-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
with:
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
- name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Build package distribution files
Expand All @@ -85,7 +85,7 @@ jobs:
- name: Store the distribution files for use in other stages
# `tests` and `publish` will use the same pre-built distributions,
# so we make sure to release the exact same package that was tested
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-distribution-files
path: dist/
Expand All @@ -100,7 +100,7 @@ jobs:
with:
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
- name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Run static analysis and format checkers
Expand All @@ -121,12 +121,12 @@ jobs:
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
delay: "0s"
- name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
id: setup-python
with:
python-version: ${{ matrix.python }}
- name: Retrieve pre-built distribution files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with: {name: python-distribution-files, path: dist/}
- name: Enable sar
run: |
Expand All @@ -150,7 +150,7 @@ jobs:
delay: "0s"
fetch-depth: "0"
- name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
id: setup-python
with:
python-version: "3.8"
Expand All @@ -170,7 +170,7 @@ jobs:
delay: "0s"
fetch-depth: "0"
- name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
id: setup-python
with:
python-version: "3.8"
Expand All @@ -189,7 +189,7 @@ jobs:
delay: "0s"
fetch-depth: "0"
- name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
id: setup-python
with:
python-version: "3.8"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Build package distribution files
Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/bump-action-versions-985b1d2d32900220.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
other:
- |
Update GitHub actions for setup-python and upload/download artefacts

0 comments on commit 8f72e65

Please sign in to comment.