Skip to content

Commit 4e48a6f

Browse files
authored
fix: Upgrade upload-artifact action (#3831)
1 parent 4aa7dd0 commit 4e48a6f

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/feature_test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: SFDO-Tooling-Ubuntu
2020
steps:
2121
- name: "Checkout"
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 1
2525
- name: Set up Python 3.8
@@ -49,7 +49,7 @@ jobs:
4949
- os: macos-13
5050
python-version: 3.8
5151
steps:
52-
- uses: actions/checkout@v2
52+
- uses: actions/checkout@v4
5353
- name: Set up Python
5454
uses: actions/setup-python@v4
5555
with:
@@ -65,7 +65,7 @@ jobs:
6565
name: "Robot: No browser"
6666
runs-on: SFDO-Tooling-Ubuntu
6767
steps:
68-
- uses: actions/checkout@v2
68+
- uses: actions/checkout@v4
6969
- name: Set up Python 3.8
7070
uses: actions/setup-python@v4
7171
with:
@@ -81,9 +81,9 @@ jobs:
8181
echo $(realpath sfdx/bin) >> $GITHUB_PATH
8282
- name: Authenticate Dev Hub
8383
run: |
84-
sfdx plugins --core
84+
sf plugins --core
8585
echo $SFDX_HUB_KEY_BASE64 | base64 --decode > sfdx.key
86-
sfdx auth:jwt:grant --clientid $SFDX_CLIENT_ID --jwtkeyfile sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub
86+
sf org login jwt --client-id $SFDX_CLIENT_ID --jwt-key-file sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub
8787
env:
8888
SFDX_HUB_KEY_BASE64: ${{ secrets.SFDX_HUB_KEY_BASE64 }}
8989
SFDX_CLIENT_ID: ${{ secrets.SFDX_CLIENT_ID }}
@@ -101,7 +101,7 @@ jobs:
101101
cci org scratch_delete dev
102102
- name: Store robot results
103103
if: failure()
104-
uses: actions/upload-artifact@v1
104+
uses: actions/upload-artifact@v4
105105
with:
106106
name: robot
107107
path: robot/CumulusCI/results

.github/workflows/slow_integration_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ jobs:
8484
- name: Install sfdx
8585
run: |
8686
mkdir sfdx
87-
wget -qO- https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1
87+
wget -qO- https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sf-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1
8888
echo $(realpath sfdx/bin) >> $GITHUB_PATH
8989
- name: Initialize Browser/Playwright
9090
run: cci robot install_playwright
9191
- name: Authenticate Dev Hub
9292
run: |
9393
sfdx plugins --core
9494
echo $SFDX_HUB_KEY_BASE64 | base64 --decode > sfdx.key
95-
sfdx auth:jwt:grant --clientid $SFDX_CLIENT_ID --jwtkeyfile sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub
95+
sf org login jwt --client-id $SFDX_CLIENT_ID --jwt-key-file sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub
9696
env:
9797
SFDX_HUB_KEY_BASE64: ${{ secrets.SFDX_HUB_KEY_BASE64 }}
9898
SFDX_CLIENT_ID: ${{ secrets.SFDX_CLIENT_ID }}
@@ -110,7 +110,7 @@ jobs:
110110
cci org scratch_delete ${{ matrix.org-shape }}
111111
- name: Store robot results
112112
if: failure()
113-
uses: actions/upload-artifact@v1
113+
uses: actions/upload-artifact@v4
114114
with:
115115
name: robot
116116
path: robot/CumulusCI/results

0 commit comments

Comments
 (0)