Skip to content

Commit df9e8f9

Browse files
committed
revert upload-artifacts to v3
1 parent 2283c8a commit df9e8f9

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/release.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
id: artifact-name
9999
run: echo "::set-output name=name::astar-ubuntu-latest-${TARGET%%-*}"
100100

101-
- uses: actions/upload-artifact@v4
101+
- uses: actions/upload-artifact@v3
102102
with:
103103
name: ${{ steps.artifact-name.outputs.name }}
104104
path: target/${{ matrix.target }}/release/astar-collator
@@ -131,7 +131,7 @@ jobs:
131131
- name: Build optimized binary with evm tracing
132132
run: CARGO_PROFILE_RELEASE_LTO=true RUSTFLAGS="-C codegen-units=1" cargo build --release --target x86_64-unknown-linux-gnu --features evm-tracing --verbose --locked
133133

134-
- uses: actions/upload-artifact@v4
134+
- uses: actions/upload-artifact@v3
135135
with:
136136
name: astar-evm-tracing-ubuntu-latest-x86_64-unknown-linux-gnu
137137
path: target/x86_64-unknown-linux-gnu/release/astar-collator
@@ -142,17 +142,17 @@ jobs:
142142
mv target/x86_64-unknown-linux-gnu/release/wbuild/shiden-runtime/shiden_runtime.compact.compressed.wasm target/x86_64-unknown-linux-gnu/release/wbuild/shiden-runtime/shiden_evm_tracing_runtime.compact.compressed.wasm
143143
mv target/x86_64-unknown-linux-gnu/release/wbuild/shibuya-runtime/shibuya_runtime.compact.compressed.wasm target/x86_64-unknown-linux-gnu/release/wbuild/shibuya-runtime/shibuya_evm_tracing_runtime.compact.compressed.wasm
144144
145-
- uses: actions/upload-artifact@v4
145+
- uses: actions/upload-artifact@v3
146146
with:
147147
name: astar-evm-tracing-runtime
148148
path: target/x86_64-unknown-linux-gnu/release/wbuild/astar-runtime/astar_evm_tracing_runtime.compact.compressed.wasm
149149

150-
- uses: actions/upload-artifact@v4
150+
- uses: actions/upload-artifact@v3
151151
with:
152152
name: shiden-evm-tracing-runtime
153153
path: target/x86_64-unknown-linux-gnu/release/wbuild/shiden-runtime/shiden_evm_tracing_runtime.compact.compressed.wasm
154154

155-
- uses: actions/upload-artifact@v4
155+
- uses: actions/upload-artifact@v3
156156
with:
157157
name: shibuya-evm-tracing-runtime
158158
path: target/x86_64-unknown-linux-gnu/release/wbuild/shibuya-runtime/shibuya_evm_tracing_runtime.compact.compressed.wasm
@@ -196,7 +196,7 @@ jobs:
196196
- name: Show sccache stats
197197
run: sccache --show-stats
198198

199-
- uses: actions/upload-artifact@v4
199+
- uses: actions/upload-artifact@v3
200200
with:
201201
name: astar-macOS-latest-x86_64
202202
path: target/release/astar-collator
@@ -228,7 +228,7 @@ jobs:
228228
tag-sha: true # add git short SHA as Docker tag
229229

230230
- name: Download pre-built linux collator binary
231-
uses: actions/download-artifact@v4
231+
uses: actions/download-artifact@v3
232232
with:
233233
name: astar-ubuntu-latest-x86_64
234234

@@ -273,7 +273,7 @@ jobs:
273273
274274
# it takes a while to build the runtime, so let's save the artifact as soon as we have it
275275
- name: Archive Artifacts for ${{ matrix.chain }}
276-
uses: actions/upload-artifact@v4
276+
uses: actions/upload-artifact@v3
277277
with:
278278
name: ${{ matrix.chain }}-runtime
279279
path: |
@@ -311,7 +311,7 @@ jobs:
311311
tee ${{ matrix.chain }}-diff.txt
312312
313313
- name: Archive Subwasm results
314-
uses: actions/upload-artifact@v4
314+
uses: actions/upload-artifact@v3
315315
with:
316316
name: ${{ matrix.chain }}-runtime
317317
path: |
@@ -332,19 +332,19 @@ jobs:
332332
fetch-depth: 0
333333

334334
- name: Download astar runtime
335-
uses: actions/download-artifact@v4
335+
uses: actions/download-artifact@v3
336336
with:
337337
name: astar-runtime
338338
path: runtime-artifacts
339339

340340
- name: Download shiden runtime
341-
uses: actions/download-artifact@v4
341+
uses: actions/download-artifact@v3
342342
with:
343343
name: shiden-runtime
344344
path: runtime-artifacts
345345

346346
- name: Download shibuya runtime
347-
uses: actions/download-artifact@v4
347+
uses: actions/download-artifact@v3
348348
with:
349349
name: shibuya-runtime
350350
path: runtime-artifacts
@@ -398,7 +398,7 @@ jobs:
398398
mkdir -p ubuntu-tracing-bin
399399
400400
- name: Download pre-built collator binary
401-
uses: actions/download-artifact@v4
401+
uses: actions/download-artifact@v3
402402
with:
403403
name: astar-${{ matrix.os }}-latest-${{ matrix.arch }}
404404
path: ${{ matrix.os }}-${{ matrix.arch }}-bin
@@ -427,7 +427,7 @@ jobs:
427427
chain: ["astar", "shiden", "shibuya"]
428428
steps:
429429
- name: Download runtime
430-
uses: actions/download-artifact@v4
430+
uses: actions/download-artifact@v3
431431
with:
432432
name: ${{ matrix.chain }}-runtime
433433

@@ -491,25 +491,25 @@ jobs:
491491
runs-on: ubuntu-latest
492492
steps:
493493
- name: Download pre-built collator binary for evm tracing
494-
uses: actions/download-artifact@v4
494+
uses: actions/download-artifact@v3
495495
with:
496496
name: astar-evm-tracing-ubuntu-latest-x86_64-unknown-linux-gnu
497497
path: evm-tracing-artifacts
498498

499499
- name: Download evm tracing runtime
500-
uses: actions/download-artifact@v4
500+
uses: actions/download-artifact@v3
501501
with:
502502
name: astar-evm-tracing-runtime
503503
path: evm-tracing-artifacts
504504

505505
- name: Download evm tracing runtime
506-
uses: actions/download-artifact@v4
506+
uses: actions/download-artifact@v3
507507
with:
508508
name: shiden-evm-tracing-runtime
509509
path: evm-tracing-artifacts
510-
510+
511511
- name: Download evm tracing runtime
512-
uses: actions/download-artifact@v4
512+
uses: actions/download-artifact@v3
513513
with:
514514
name: shibuya-evm-tracing-runtime
515515
path: evm-tracing-artifacts
@@ -548,7 +548,7 @@ jobs:
548548
uses: actions/checkout@v4
549549

550550
- name: Download pre-built collator binary
551-
uses: actions/download-artifact@v4
551+
uses: actions/download-artifact@v3
552552
with:
553553
name: astar-ubuntu-latest-x86_64
554554
path: target/release

0 commit comments

Comments
 (0)