Skip to content

Commit

Permalink
ci: Upgrade actions/upload-artifact and actions/download-artifact to …
Browse files Browse the repository at this point in the history
…v4 (#74)
  • Loading branch information
alvicsam authored Nov 15, 2024
1 parent 1be4373 commit 7fd86bc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Benchmark of pallet-contracts and pallet-evm

on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:

env:
Expand Down Expand Up @@ -30,9 +30,9 @@ jobs:
- uses: actions/checkout@v4
with:
sparse-checkout: |
launch/moonbeam.patch
sparse-checkout-cone-mode: false
sparse-checkout: |
launch/moonbeam.patch
sparse-checkout-cone-mode: false

- name: Download Moonbeam Release
run: |
Expand All @@ -58,7 +58,7 @@ jobs:
with:
args: /bin/bash -c "cd moonbeam_release/*/ && cargo build --release"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ env.MOONBEAM_ARTIFACT }}
path: |
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Cache
uses: Swatinem/rust-cache@v2

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{ env.MOONBEAM_ARTIFACT }}
path: ./${{ env.MOONBEAM_DIR }}
Expand Down Expand Up @@ -113,13 +113,13 @@ jobs:
id: ink_version
uses: ./.github/actions/get-contract-language
with:
contracts-directory: './contracts/ink'
contracts-directory: "./contracts/ink"

- name: Get Solang contract language verision
id: solang_version
uses: ./.github/actions/get-contract-language
with:
contracts-directory: './contracts/solidity/wasm'
contracts-directory: "./contracts/solidity/wasm"

- name: Get Solc contract language verision
id: solc_version
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
${{ matrix.contract }}, ${{ steps.run_smart_bench.outputs.tps }}, ${{ steps.solc_version.outputs.language }}, \
${{ env.TEST_PARAMS }}" > ${BENCHMARK_DIR}/${BENCHMARK_FILE}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ env.BENCHMARK_FILE }}
path: ${{ env.BENCHMARK_DIR }}/${{ env.BENCHMARK_FILE }}
Expand All @@ -209,7 +209,7 @@ jobs:
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ${{ env.BENCHMARK_DIR }}

Expand Down

0 comments on commit 7fd86bc

Please sign in to comment.