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

Fix artifact uploading #1355

Merged
merged 2 commits into from
Oct 30, 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
6 changes: 3 additions & 3 deletions .github/workflows/genesis_files_for_relay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ jobs:
sha256sum $CHAIN-genesis.json $CHAIN-genesis.state $CHAIN-genesis.wasm | tee $CHAIN-genesis.sha256
# upload artifacts
- name: upload genesis
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{env.CHAIN}}-genesis.json
path: ${{env.CHAIN}}-genesis.json
- name: upload state
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{env.CHAIN}}-genesis.state
path: ${{env.CHAIN}}-genesis.state
- name: upload wasm
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{env.CHAIN}}-genesis.wasm
path: ${{env.CHAIN}}-genesis.wasm
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/integration_test_calamari.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
run: sccache --stop-server || true
- if: always()
name: upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: manta
path: target/production/manta
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
mkdir -p $HOME/.local/bin
echo "${HOME}/.local/bin" >> $GITHUB_PATH
- name: fetch manta
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: manta
- name: mv and chmod manta
Expand Down Expand Up @@ -173,17 +173,17 @@ jobs:
repository: Manta-Network/Manta
path: Manta
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-state.json
path: /home/runner/.local/share/calamari-pc/${{ matrix.chain-spec.id }}-state.json
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-spec.json
path: /home/runner/.local/share/calamari-pc/${{ matrix.chain-spec.id }}-spec.json
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-${{ steps.create-chainspec.outputs.short-sha }}-spec.json
path: /home/runner/.local/share/calamari-pc/${{ matrix.chain-spec.id }}-${{ steps.create-chainspec.outputs.short-sha }}-spec.json
Expand All @@ -199,7 +199,7 @@ jobs:
'.parachains.[0].collators.[0].command'
cat $GITHUB_WORKSPACE/Manta/zombienet/tests/0001-block-production.toml
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-${{ steps.create-chainspec.outputs.short-sha }}-launch-config.json
path: /home/runner/.local/share/calamari-pc/${{ matrix.chain-spec.id }}-${{ steps.create-chainspec.outputs.short-sha }}-launch-config.json
Expand Down Expand Up @@ -280,37 +280,37 @@ jobs:
pm2 stop measure-block-time-${{ matrix.chain-spec.id }}
pm2 stop zombienet
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: zombienet-for-${{ matrix.chain-spec.id }}-stdout.log
path: $GITHUB_WORKSPACE/zombienet-for-${{ matrix.chain-spec.id }}-stdout.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: zombienet-for-${{ matrix.chain-spec.id }}-stderr.log
path: $GITHUB_WORKSPACE/zombienet-for-${{ matrix.chain-spec.id }}-stderr.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: measure-block-time-rococo-relay-for-${{ matrix.chain-spec.id }}-stdout.log
path: $GITHUB_WORKSPACE/measure-block-time-rococo-relay-for-${{ matrix.chain-spec.id }}-stdout.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: measure-block-time-rococo-relay-for-${{ matrix.chain-spec.id }}-stderr.log
path: $GITHUB_WORKSPACE/measure-block-time-rococo-relay-for-${{ matrix.chain-spec.id }}-stderr.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: measure-block-time-${{ matrix.chain-spec.id }}-stdout.log
path: $GITHUB_WORKSPACE/measure-block-time-${{ matrix.chain-spec.id }}-stdout.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: measure-block-time-${{ matrix.chain-spec.id }}-stderr.log
path: $GITHUB_WORKSPACE/measure-block-time-${{ matrix.chain-spec.id }}-stderr.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: block-time-rococo-relay-for-${{ matrix.chain-spec.id }}.json
path: $GITHUB_WORKSPACE/block-time-rococo.json
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
cd $GITHUB_WORKSPACE/zombienet-tool
pm2 stop zombienet
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-alice-stress.log
path: $GITHUB_WORKSPACE/zombienet-for-${{ matrix.chain-spec.id }}-stdout.log
Expand All @@ -380,7 +380,7 @@ jobs:
cd $GITHUB_WORKSPACE/zombienet-tool
pm2 stop zombienet
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-alice-stress.log
path: $GITHUB_WORKSPACE/zombienet-for-${{ matrix.chain-spec.id }}-stdout.log
Expand All @@ -397,7 +397,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- name: fetch manta
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: manta
- name: build docker image
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/integration_test_manta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
run: sccache --stop-server || true
- if: always()
name: upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: manta
path: target/production/manta
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
mkdir -p $HOME/.local/bin
echo "${HOME}/.local/bin" >> $GITHUB_PATH
- name: fetch manta
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: manta
- name: mv and chmod manta
Expand Down Expand Up @@ -169,17 +169,17 @@ jobs:
repository: Manta-Network/Manta
path: Manta
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-state.json
path: /home/runner/.local/share/calamari-pc/${{ matrix.chain-spec.id }}-state.json
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-spec.json
path: /home/runner/.local/share/calamari-pc/${{ matrix.chain-spec.id }}-spec.json
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-${{ steps.create-chainspec.outputs.short-sha }}-spec.json
path: /home/runner/.local/share/calamari-pc/${{ matrix.chain-spec.id }}-${{ steps.create-chainspec.outputs.short-sha }}-spec.json
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
'.parachains.[0].id'
cat $GITHUB_WORKSPACE/Manta/zombienet/tests/0001-block-production.toml
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-${{ steps.create-chainspec.outputs.short-sha }}-launch-config.json
path: /home/runner/.local/share/calamari-pc/${{ matrix.chain-spec.id }}-${{ steps.create-chainspec.outputs.short-sha }}-launch-config.json
Expand Down Expand Up @@ -312,32 +312,32 @@ jobs:
cat $GITHUB_WORKSPACE/Manta/zombienet/tests/0001-block-production.zndsl
./zombienet -f -p native test $GITHUB_WORKSPACE/Manta/zombienet/tests/0001-block-production.zndsl
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: zombienet-for-${{ matrix.chain-spec.id }}-stdout.log
path: $GITHUB_WORKSPACE/zombienet-for-${{ matrix.chain-spec.id }}-stdout.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: zombienet-for-${{ matrix.chain-spec.id }}-stderr.log
path: $GITHUB_WORKSPACE/zombienet-for-${{ matrix.chain-spec.id }}-stderr.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: measure-block-time-rococo-relay-for-${{ matrix.chain-spec.id }}-stdout.log
path: $GITHUB_WORKSPACE/measure-block-time-rococo-relay-for-${{ matrix.chain-spec.id }}-stdout.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: measure-block-time-rococo-relay-for-${{ matrix.chain-spec.id }}-stderr.log
path: $GITHUB_WORKSPACE/measure-block-time-rococo-relay-for-${{ matrix.chain-spec.id }}-stderr.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: measure-block-time-${{ matrix.chain-spec.id }}-stdout.log
path: $GITHUB_WORKSPACE/measure-block-time-${{ matrix.chain-spec.id }}-stdout.log
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: measure-block-time-${{ matrix.chain-spec.id }}-stderr.log
path: $GITHUB_WORKSPACE/measure-block-time-${{ matrix.chain-spec.id }}-stderr.log
Expand All @@ -361,7 +361,7 @@ jobs:
cd $GITHUB_WORKSPACE/zombienet-tool
pm2 stop zombienet
- if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.chain-spec.id }}-alice-stress.log
path: $GITHUB_WORKSPACE/zombienet-for-${{ matrix.chain-spec.id }}-stdout.log
Expand All @@ -385,7 +385,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- name: fetch manta
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: manta
- name: build docker image
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/metadata_diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
run: pkill manta
- if: always()
name: Save output as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.CHAIN }}
path: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/publish_draft_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ jobs:
jq > ${{ matrix.runtime.name }}-srtool-output.json
- if: always()
name: upload srtool json
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.runtime.name }}-srtool-json
path: ${{ matrix.runtime.name }}-srtool-output.json
- if: always()
name: upload runtime
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.runtime.name }}-runtime
path: |
Expand Down Expand Up @@ -135,19 +135,19 @@ jobs:
run: sccache --stop-server || true
- if: always()
name: upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: manta
path: target/production/manta
- if: always()
name: upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: config-for-integration-test
path: .github/resources/config-for-integration-test.json
- if: always()
name: upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: config-for-runtime-upgrade-test
path: .github/resources/config-for-runtime-upgrade-test.json
Expand Down Expand Up @@ -180,10 +180,10 @@ jobs:
if: startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: ${{ matrix.runtime.name }}-runtime
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: ${{ matrix.runtime.name }}-srtool-json
- name: ruby setup
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
download_url: ${{ steps.upload-manta.outputs.browser_download_url }}
if: startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: manta
- id: upload-manta
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/run_all_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,37 +110,37 @@ jobs:
./scripts/benchmarking/run_all_benchmarks.sh -b -c ${{ github.workspace }}/tests/data/fork.json -s ./$FULL_DB_FOLDER
- if: always()
name: upload benchmarking binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: manta
path: ./target/production/manta
- if: always()
name: upload frame weights
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: frame-weights-output
path: ./scripts/benchmarking/frame-weights-output/
- if: always()
name: upload xcm weights
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: xcm-weights-output
path: ./scripts/benchmarking/xcm-weights-output/
- if: always()
name: upload benchmarking errors
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: benchmarks-errors
path: ./scripts/benchmarking/benchmarking_errors.txt
- if: always()
name: upload machine benchmark result
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: machine-benchmark
path: ./scripts/benchmarking/machine_benchmark_result.txt
- if: always()
name: upload storage weights
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: rocksdb-weights
path: ./scripts/benchmarking/rocksdb_weights.rs
Loading
Loading