Skip to content

Commit

Permalink
Bump upload/download action version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Sep 10, 2024
1 parent f16fe5f commit 5b968a0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
id: artifact-name
run: echo "name=astar-ubuntu-latest-${TARGET%%-*}" >> $GITHUB_OUTPUT

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.artifact-name.outputs.name }}
path: target/${{ matrix.target }}/production/astar-collator
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
- name: Build optimized binary
run: cargo build --locked --profile production --bin astar-collator

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: astar-macOS-latest-x86_64
path: target/production/astar-collator
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
tag-sha: true # add git short SHA as Docker tag

- name: Download pre-built linux collator binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: astar-ubuntu-latest-x86_64

Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
mkdir -p ${{ matrix.os }}-${{ matrix.arch }}-bin
- name: Download pre-built collator binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: astar-${{ matrix.os }}-latest-${{ matrix.arch }}
path: ${{ matrix.os }}-${{ matrix.arch }}-bin
Expand Down Expand Up @@ -283,7 +283,7 @@ jobs:
uses: actions/checkout@v4

- name: Download pre-built collator binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: astar-ubuntu-latest-x86_64
path: target/release
Expand All @@ -305,7 +305,7 @@ jobs:
uses: actions/checkout@v4

- name: Download pre-built collator binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: astar-ubuntu-latest-x86_64
path: third-party/zombienet
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/release-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@ jobs:
mv target/production/wbuild/shiden-runtime/shiden_runtime.compact.compressed.wasm target/production/wbuild/shiden-runtime/shiden_evm_tracing_runtime.compact.compressed.wasm
mv target/production/wbuild/shibuya-runtime/shibuya_runtime.compact.compressed.wasm target/production/wbuild/shibuya-runtime/shibuya_evm_tracing_runtime.compact.compressed.wasm
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: astar-evm-tracing-runtime
path: target/production/wbuild/astar-runtime/astar_evm_tracing_runtime.compact.compressed.wasm

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: shiden-evm-tracing-runtime
path: target/production/wbuild/shiden-runtime/shiden_evm_tracing_runtime.compact.compressed.wasm

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: shibuya-evm-tracing-runtime
path: target/production/wbuild/shibuya-runtime/shibuya_evm_tracing_runtime.compact.compressed.wasm
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
# it takes a while to build the runtime, so let's save the artifact as soon as we have it
- name: Archive Artifacts for ${{ matrix.chain }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain }}-runtime
path: |
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
tee ${{ matrix.chain }}-diff.txt
- name: Archive Subwasm results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain }}-runtime
path: |
Expand All @@ -176,19 +176,19 @@ jobs:
fetch-depth: 0

- name: Download astar runtime
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: astar-runtime
path: runtime-artifacts

- name: Download shiden runtime
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: shiden-runtime
path: runtime-artifacts

- name: Download shibuya runtime
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: shibuya-runtime
path: runtime-artifacts
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
chain: ["astar", "shiden", "shibuya"]
steps:
- name: Download runtime
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.chain }}-runtime

Expand Down Expand Up @@ -313,19 +313,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download evm tracing runtime
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: astar-evm-tracing-runtime
path: evm-tracing-artifacts

- name: Download evm tracing runtime
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: shiden-evm-tracing-runtime
path: evm-tracing-artifacts

- name: Download evm tracing runtime
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: shibuya-evm-tracing-runtime
path: evm-tracing-artifacts
Expand Down

0 comments on commit 5b968a0

Please sign in to comment.