From 478198b025a0edece7daf97ae0021062d84b75ad Mon Sep 17 00:00:00 2001 From: Huy Do Date: Thu, 9 Jan 2025 14:56:55 -0800 Subject: [PATCH] Upgrade actions/download-artifact@v4 (#7573) * Upgrade actions/download-artifact@v4 * Address https://github.com/actions/upload-artifact/issues/480 --- .github/workflows/apple-perf.yml | 2 +- .github/workflows/apple.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/apple-perf.yml b/.github/workflows/apple-perf.yml index f4fbc0128b..4fb3e9711d 100644 --- a/.github/workflows/apple-perf.yml +++ b/.github/workflows/apple-perf.yml @@ -410,7 +410,7 @@ jobs: runs-on: linux.2xlarge steps: - name: Download the apps from GitHub - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: # The name here needs to match the name of the upload-artifact parameter name: ios-apps diff --git a/.github/workflows/apple.yml b/.github/workflows/apple.yml index f284d466bf..2e85eeec76 100644 --- a/.github/workflows/apple.yml +++ b/.github/workflows/apple.yml @@ -53,7 +53,7 @@ jobs: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} timeout: 90 secrets-env: BUILD_CERTIFICATE_BASE64 EXECUTORCH_DEMO_BUILD_PROVISION_PROFILE_BASE64 KEYCHAIN_PASSWORD - upload-artifact: ios-apps + upload-artifact: ios-demo-app script: | set -eux @@ -83,10 +83,10 @@ jobs: runs-on: linux.2xlarge steps: - name: Download the artifacts from GitHub - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: # The name here needs to match the name of the upload-artifact parameter - name: ios-apps + name: ios-demo-app path: ${{ runner.temp }}/artifacts/ - name: Verify the artifacts @@ -216,7 +216,7 @@ jobs: role-to-assume: arn:aws:iam::308535385114:role/gha_executorch_upload-frameworks-ios aws-region: us-east-1 - name: Download the artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: # NB: The name here needs to match the upload-artifact name from build-frameworks-ios job name: executorch-frameworks-ios @@ -291,7 +291,7 @@ jobs: python-version: '3.11' submodules: 'true' ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} - upload-artifact: ios-apps + upload-artifact: ios-benchmark-app secrets-env: BUILD_CERTIFICATE_BASE64 EXECUTORCH_BENCHMARK_BUILD_PROVISION_PROFILE_BASE64 KEYCHAIN_PASSWORD timeout: 90 script: |