From: Matthew Watkins Date: Mon, 4 Mar 2024 19:13:23 +0000 (+0000) Subject: Chore: Update GitHub actions for setup-python and artefact upload/download X-Git-Tag: v0.37.10~1^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F72723%2F1;p=releng%2Flftools.git Chore: Update GitHub actions for setup-python and artefact upload/download Issue: RELENG-5176 Change-Id: Ib9703988106f6d4223e9c6d7035a8cf39c904f09 Signed-off-by: Matthew Watkins --- diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml index d69b43d1..aab6e84f 100644 --- a/.github/workflows/gerrit-verify.yaml +++ b/.github/workflows/gerrit-verify.yaml @@ -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 @@ -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/ @@ -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 @@ -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: | @@ -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" @@ -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" @@ -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" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9de5708b..463cfb90 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 diff --git a/releasenotes/notes/bump-action-versions-985b1d2d32900220.yaml b/releasenotes/notes/bump-action-versions-985b1d2d32900220.yaml new file mode 100644 index 00000000..4846b82c --- /dev/null +++ b/releasenotes/notes/bump-action-versions-985b1d2d32900220.yaml @@ -0,0 +1,4 @@ +--- +other: + - | + Update GitHub actions for setup-python and upload/download artefacts