Skip to content

Commit

Permalink
i#6981: Use consistent version for upload-artifact and download-artifact
Browse files Browse the repository at this point in the history
Changes the version used for upload-artifact and download-artifact to the current one recommended at https://github.com/actions/upload-artifact and https://github.com/actions/download-artifact.

 Fixes: #6981
  • Loading branch information
abhinav92003 authored Sep 12, 2024
1 parent b9ea26b commit 3f10a91
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
CI_BRANCH: ${{ github.ref }}

- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: linux-tarball
path: DynamoRIO-Linux-${{ steps.version.outputs.version_number }}.tar.gz
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
CI_BRANCH: ${{ github.ref }}

- name: Upload AArch64
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: aarch64-tarball
path: DynamoRIO-AArch64-Linux-${{ steps.version.outputs.version_number }}.tar.gz
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:
CI_BRANCH: ${{ github.ref }}

- name: Upload ARM
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: arm-tarball
path: DynamoRIO-ARM-Linux-EABIHF-${{ steps.version.outputs.version_number }}.tar.gz
Expand Down Expand Up @@ -393,7 +393,7 @@ jobs:
CI_BRANCH: ${{ github.ref }}

- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: android-tarball
path: DynamoRIO-ARM-Android-EABI-${{ steps.version.outputs.version_number }}.tar.gz
Expand Down Expand Up @@ -484,7 +484,7 @@ jobs:
CI_BRANCH: ${{ github.ref }}

- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: windows-zip
path: DynamoRIO-Windows-${{ steps.version.outputs.version_number }}.zip
Expand Down Expand Up @@ -562,7 +562,7 @@ jobs:
prerelease: false

- name: Download Linux
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: linux-tarball
- name: Upload Linux
Expand All @@ -577,7 +577,7 @@ jobs:
asset_content_type: application/x-gzip

- name: Download AArch64
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: aarch64-tarball
- name: Upload AArch64
Expand All @@ -592,7 +592,7 @@ jobs:
asset_content_type: application/x-gzip

- name: Download ARM
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: arm-tarball
- name: Upload ARM
Expand All @@ -607,7 +607,7 @@ jobs:
asset_content_type: application/x-gzip

- name: Download Android
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: android-tarball
- name: Upload Android
Expand All @@ -622,7 +622,7 @@ jobs:
asset_content_type: application/x-gzip

- name: Download Windows
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: windows-zip
- name: Upload Windows
Expand Down

0 comments on commit 3f10a91

Please sign in to comment.