From 6646ab60a7a6aa0a8e6137f505b1c0bd2a5aadd9 Mon Sep 17 00:00:00 2001 From: Julianne Swinoga Date: Sat, 4 Jan 2025 14:21:07 -0500 Subject: [PATCH] update upload/download-artifact v3->v4, ubuntu 20.04->24.04 --- .github/workflows/build-and-release.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index 16f088f..7e05edc 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -118,13 +118,13 @@ jobs: env: ARTIFACT_ZIP_NAME: ${{ env.ARTIFACT_ZIP_NAME }} - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_ZIP_NAME }} path: ${{ env.ARTIFACT_ZIP_NAME }}.zip build-virtualenv: - runs-on: 'ubuntu-20.04' + runs-on: 'ubuntu-24.04' strategy: matrix: py_version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] @@ -172,7 +172,7 @@ jobs: ARTIFACT_ZIP_NAME: ${{ env.ARTIFACT_ZIP_NAME }} - name: Upload artifact if: ${{ matrix.py_version }} == "3.10" # Only publish one artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.ARTIFACT_ZIP_NAME }} path: ${{ env.ARTIFACT_ZIP_NAME }}.zip @@ -181,14 +181,14 @@ jobs: # only publish release on tags if: ${{ startsWith(github.ref, 'refs/tags/') == true }} needs: [build-windows, build-virtualenv] - runs-on: 'ubuntu-20.04' + runs-on: 'ubuntu-24.04' permissions: # See https://github.com/softprops/action-gh-release/issues/236#issuecomment-1150530128 contents: write steps: - name: Download all artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Show artifact contents