From e60c27f64aaedbde19768a1c180e6ec5461f9dd0 Mon Sep 17 00:00:00 2001 From: James Estevez Date: Wed, 18 Sep 2024 15:06:08 -0700 Subject: [PATCH] fix: Upgrade upload-artifact action --- .github/workflows/feature_test.yml | 12 ++++++------ .github/workflows/slow_integration_tests.yml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/feature_test.yml b/.github/workflows/feature_test.yml index 050fa60d5e..6520d5475e 100644 --- a/.github/workflows/feature_test.yml +++ b/.github/workflows/feature_test.yml @@ -19,7 +19,7 @@ jobs: runs-on: SFDO-Tooling-Ubuntu steps: - name: "Checkout" - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Set up Python 3.8 @@ -49,7 +49,7 @@ jobs: - os: macos-13 python-version: 3.8 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: @@ -65,7 +65,7 @@ jobs: name: "Robot: No browser" runs-on: SFDO-Tooling-Ubuntu steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.8 uses: actions/setup-python@v4 with: @@ -81,9 +81,9 @@ jobs: echo $(realpath sfdx/bin) >> $GITHUB_PATH - name: Authenticate Dev Hub run: | - sfdx plugins --core + sf plugins --core echo $SFDX_HUB_KEY_BASE64 | base64 --decode > sfdx.key - sfdx auth:jwt:grant --clientid $SFDX_CLIENT_ID --jwtkeyfile sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub + sf org login jwt --client-id $SFDX_CLIENT_ID --jwt-key-file sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub env: SFDX_HUB_KEY_BASE64: ${{ secrets.SFDX_HUB_KEY_BASE64 }} SFDX_CLIENT_ID: ${{ secrets.SFDX_CLIENT_ID }} @@ -101,7 +101,7 @@ jobs: cci org scratch_delete dev - name: Store robot results if: failure() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: robot path: robot/CumulusCI/results diff --git a/.github/workflows/slow_integration_tests.yml b/.github/workflows/slow_integration_tests.yml index f5a632ff3c..9c06e222bc 100644 --- a/.github/workflows/slow_integration_tests.yml +++ b/.github/workflows/slow_integration_tests.yml @@ -84,7 +84,7 @@ jobs: - name: Install sfdx run: | mkdir sfdx - wget -qO- https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1 + wget -qO- https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sf-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1 echo $(realpath sfdx/bin) >> $GITHUB_PATH - name: Initialize Browser/Playwright run: cci robot install_playwright @@ -92,7 +92,7 @@ jobs: run: | sfdx plugins --core echo $SFDX_HUB_KEY_BASE64 | base64 --decode > sfdx.key - sfdx auth:jwt:grant --clientid $SFDX_CLIENT_ID --jwtkeyfile sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub + sf org login jwt --client-id $SFDX_CLIENT_ID --jwt-key-file sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub env: SFDX_HUB_KEY_BASE64: ${{ secrets.SFDX_HUB_KEY_BASE64 }} SFDX_CLIENT_ID: ${{ secrets.SFDX_CLIENT_ID }} @@ -110,7 +110,7 @@ jobs: cci org scratch_delete ${{ matrix.org-shape }} - name: Store robot results if: failure() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: robot path: robot/CumulusCI/results