Skip to content

Commit

Permalink
Update GitHub Artifact Actions to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Feb 18, 2024
1 parent 742e978 commit 87c5a54
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/actions/download/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ inputs.platform }}.env
path: ${{ inputs.platform }}.env
Expand All @@ -22,7 +22,7 @@ runs:
echo "package_name=$PACKAGE_NAME" >> $GITHUB_OUTPUT
echo "$PACKAGE_NAME/$PACKAGE_NAME" >> package_paths.env
id: env
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ steps.env.outputs.package_name }}
path: ${{ steps.env.outputs.package_name }}
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,31 +121,31 @@ jobs:
echo "name=hisui-${HISUI_VERSION}_${{ matrix.os }}.tar.gz" >> "$GITHUB_OUTPUT"
id: package_name
- name: Upload hisui binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-hisui-binary
path: release/${{ matrix.os }}/hisui
if-no-files-found: error
- name: Upload hisui binary with hash
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-hisui-binary-${{ steps.vars.outputs.sha_short }}
path: release/${{ matrix.os }}/hisui
if-no-files-found: error
- name: Upload Lyra model_coeffs with hash
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-lyra-model-coeffs
path: third_party/lyra/lyra/lyra/model_coeffs
if-no-files-found: error
- name: Upload tarball
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.package_name.outputs.name }}
path: release/${{ matrix.os }}/${{ steps.package_name.outputs.name }}
if-no-files-found: error
- name: Upload environment
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}.env
path: ${{ matrix.os }}.env
Expand Down Expand Up @@ -174,19 +174,19 @@ jobs:
mkdir -p release/ubuntu-20.04_arm64
mkdir -p release/ubuntu-22.04_x86_64
mkdir -p release/ubuntu-22.04_arm64
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-20.04_x86_64-hisui-binary
path: release/ubuntu-20.04_x86_64
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-20.04_arm64-hisui-binary
path: release/ubuntu-20.04_arm64
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-22.04_x86_64-hisui-binary
path: release/ubuntu-22.04_x86_64
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-22.04_arm64-hisui-binary
path: release/ubuntu-22.04_arm64
Expand All @@ -197,19 +197,19 @@ jobs:
chmod 755 release/ubuntu-20.04_arm64/hisui
chmod 755 release/ubuntu-22.04_x86_64/hisui
chmod 755 release/ubuntu-22.04_arm64/hisui
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-20.04_x86_64-lyra-model-coeffs
path: release/ubuntu-20.04_x86_64/lyra/model_coeffs
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-20.04_arm64-lyra-model-coeffs
path: release/ubuntu-20.04_arm64/lyra/model_coeffs
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-22.04_x86_64-lyra-model-coeffs
path: release/ubuntu-22.04_x86_64/lyra/model_coeffs
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-22.04_arm64-lyra-model-coeffs
path: release/ubuntu-22.04_arm64/lyra/model_coeffs
Expand Down

0 comments on commit 87c5a54

Please # to comment.