Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 7340835

Browse files
authored
ci: Update to upload / download artifact v4 (#7238)
1 parent 58dcd14 commit 7340835

7 files changed

+5
-47
lines changed

.github/workflows/pull-request-account-compression.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
run: ./ci/cargo-test-sbf.sh account-compression
7171

7272
- name: Upload programs
73-
uses: actions/upload-artifact@v3
73+
uses: actions/upload-artifact@v4
7474
with:
7575
name: account-compression-programs
7676
path: "account-compression/target/deploy/*.so"

.github/workflows/pull-request-name-service.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,6 @@ jobs:
6161
- name: Build and test
6262
run: ./ci/cargo-test-sbf.sh name-service
6363

64-
- name: Upload programs
65-
uses: actions/upload-artifact@v3
66-
with:
67-
name: name-service-programs
68-
path: "target/deploy/*.so"
69-
if-no-files-found: error
70-
7164
js-test:
7265
runs-on: ubuntu-latest
7366
env:

.github/workflows/pull-request-single-pool.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,6 @@ jobs:
6969
- name: Build and test
7070
run: ./ci/cargo-test-sbf.sh single-pool/program
7171

72-
- name: Upload programs
73-
uses: actions/upload-artifact@v3
74-
with:
75-
name: single-pool-programs
76-
path: "target/deploy/*.so"
77-
if-no-files-found: error
78-
7972
cargo-build-test-cli:
8073
runs-on: ubuntu-latest
8174
steps:

.github/workflows/pull-request-stake-pool.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: ./ci/cargo-test-sbf.sh stake-pool
8080

8181
- name: Upload programs
82-
uses: actions/upload-artifact@v3
82+
uses: actions/upload-artifact@v4
8383
with:
8484
name: stake-pool-programs
8585
path: "target/deploy/*.so"
@@ -121,7 +121,7 @@ jobs:
121121
key: pip-stake-pool-${{ hashFiles('stake-pool/py/requirements.txt') }}
122122

123123
- name: Download programs
124-
uses: actions/download-artifact@v3
124+
uses: actions/download-artifact@v4
125125
with:
126126
name: stake-pool-programs
127127
path: target/deploy

.github/workflows/pull-request-token-lending.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,6 @@ jobs:
6565
- name: Build and test
6666
run: ./ci/cargo-test-sbf.sh token-lending
6767

68-
- name: Upload programs
69-
uses: actions/upload-artifact@v3
70-
with:
71-
name: token-lending-programs
72-
path: "target/deploy/*.so"
73-
if-no-files-found: error
74-
7568
js-test:
7669
runs-on: ubuntu-latest
7770
env:

.github/workflows/pull-request-token-swap.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,6 @@ jobs:
8080
run: |
8181
mv target/deploy-production/spl_token_swap.so target/deploy/spl_token_swap_production.so
8282
83-
- name: Upload programs
84-
uses: actions/upload-artifact@v3
85-
with:
86-
name: token-swap-programs
87-
path: "target/deploy/*.so"
88-
if-no-files-found: error
89-
9083
js-test:
9184
runs-on: ubuntu-latest
9285
env:

.github/workflows/pull-request-token.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ jobs:
6868
- name: Build and test token
6969
run: ./ci/cargo-test-sbf.sh token
7070

71-
- name: Upload programs
72-
uses: actions/upload-artifact@v3
73-
with:
74-
name: token-programs
75-
path: "target/deploy/*.so"
76-
if-no-files-found: error
77-
7871
cargo-test-token-2022-serde:
7972
runs-on: ubuntu-latest
8073
steps:
@@ -153,7 +146,7 @@ jobs:
153146
run: ./ci/cargo-test-sbf.sh token/transfer-hook/example
154147

155148
- name: Upload program
156-
uses: actions/upload-artifact@v3
149+
uses: actions/upload-artifact@v4
157150
with:
158151
name: spl-transfer-hook-example
159152
path: "target/deploy/*.so"
@@ -202,13 +195,6 @@ jobs:
202195
- name: Build and test ATA
203196
run: ./ci/cargo-test-sbf.sh associated-token-account
204197

205-
- name: Upload program
206-
uses: actions/upload-artifact@v3
207-
with:
208-
name: associated-token-account-program
209-
path: "target/deploy/*.so"
210-
if-no-files-found: error
211-
212198
cargo-test-sbf-token-2022:
213199
runs-on: ubuntu-latest
214200
steps:
@@ -342,7 +328,7 @@ jobs:
342328
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
343329
344330
- name: Download spl-transfer-hook-example program
345-
uses: actions/download-artifact@v3
331+
uses: actions/download-artifact@v4
346332
with:
347333
name: spl-transfer-hook-example
348334
path: target/deploy

0 commit comments

Comments
 (0)