Skip to content

Commit

Permalink
update upload/download-artifact v3->v4, ubuntu 20.04->24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
julianneswinoga committed Jan 4, 2025
1 parent 7052a6d commit 6646ab6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6646ab6

Please sign in to comment.