diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 4fe6ea1eb2..4b83b22538 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -115,7 +115,7 @@ jobs: chmod +x ./scripts/run_benchmarks.sh ./scripts/run_benchmarks.sh -o ./benchmark-results -c ${{ steps.bench-input.outputs.chain }} -p ${{ steps.bench-input.outputs.pallets }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: benchmark-results path: ./benchmark-results diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 3251f3968c..ee1b2ef35c 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -71,7 +71,7 @@ jobs: path: code-coverage-results.md - name: Archive code coverage results - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: code-coverage-report path: cobertura.xml diff --git a/.github/workflows/release-client.yml b/.github/workflows/release-client.yml index 239761ae63..f3cf726323 100644 --- a/.github/workflows/release-client.yml +++ b/.github/workflows/release-client.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/release-runtime.yml b/.github/workflows/release-runtime.yml index 949351b8fe..b5d5f716d9 100644 --- a/.github/workflows/release-runtime.yml +++ b/.github/workflows/release-runtime.yml @@ -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 @@ -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: | @@ -155,9 +155,9 @@ 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 + name: ${{ matrix.chain }}-runtime-subwasm path: | ${{ matrix.chain }}-info.json ${{ matrix.chain }}-compressed-info.json @@ -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 @@ -249,10 +249,15 @@ jobs: chain: ["astar", "shiden", "shibuya"] steps: - name: Download runtime - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ matrix.chain }}-runtime + - name: Download runtime subwasm info + uses: actions/download-artifact@v4 + with: + name: ${{ matrix.chain }}-runtime-subwasm + - name: Get runtime version id: get-runtime-version run: | @@ -313,19 +318,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