Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump CI upload/download actions (fix tarpaulin job) #1361

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
31 changes: 18 additions & 13 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,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
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,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: |
Expand Down Expand Up @@ -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
Expand Down
Loading