Skip to content

Commit

Permalink
Update download-artifact and upload-artifact to v4.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbruening committed Sep 18, 2024
1 parent 788f541 commit 2b95e7b
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/ci-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ jobs:
DEPLOY_DOCS: no

- name: Upload Artifacts
uses: actions/upload-artifact@v2
# This points to the latest v4.x.x.
uses: actions/upload-artifact@v4
with:
name: linux-tarball
path: DrMemory-Linux-${{ steps.version.outputs.version_number }}.tar.gz
Expand Down Expand Up @@ -179,13 +180,15 @@ jobs:
VERSION_NUMBER: ${{ steps.version.outputs.version_number }}

- name: Upload Zip
uses: actions/upload-artifact@v2
# This points to the latest v4.x.x.
uses: actions/upload-artifact@v4
with:
name: windows-zip
path: DrMemory-Windows-${{ steps.version.outputs.version_number }}.zip

- name: Upload Msi
uses: actions/upload-artifact@v2
# This points to the latest v4.x.x.
uses: actions/upload-artifact@v4
with:
name: windows-msi
path: DrMemory-Windows-${{ steps.version.outputs.version_number }}.msi
Expand All @@ -196,7 +199,7 @@ jobs:
# succeeds and the others fail: there is no check in the create-release
# action to use an existing release if it already exists.
# Thus, our strategy is to share files from the build jobs with this
# single relese job via artifacts.
# single release job via artifacts.

create_release:
needs: [x86, windows]
Expand Down Expand Up @@ -245,7 +248,8 @@ jobs:
prerelease: false

- name: Download Linux
uses: actions/download-artifact@v2
# This points to the latest v4.x.x.
uses: actions/download-artifact@v4
with:
name: linux-tarball
- name: Upload Linux
Expand All @@ -260,7 +264,8 @@ jobs:
asset_content_type: application/x-gzip

- name: Download Zip
uses: actions/download-artifact@v2
# This points to the latest v4.x.x.
uses: actions/download-artifact@v4
with:
name: windows-zip
- name: Upload Zip
Expand All @@ -275,7 +280,8 @@ jobs:
asset_content_type: application/zip

- name: Download Msi
uses: actions/download-artifact@v2
# This points to the latest v4.x.x.
uses: actions/download-artifact@v4
with:
name: windows-msi
- name: Upload Msi
Expand Down

0 comments on commit 2b95e7b

Please sign in to comment.