From 07b18484054b345e85a1ed6ad6c13423e59b4f2b Mon Sep 17 00:00:00 2001 From: Anatolios Laskaris Date: Mon, 4 Sep 2023 14:57:04 +0300 Subject: [PATCH] chore: Setup marine artifact from checks (#33) --- .github/workflows/snapshot.yml | 15 ++------------- .github/workflows/tests.yml | 15 ++------------- 2 files changed, 4 insertions(+), 26 deletions(-) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index bafe443..624a629 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -57,21 +57,10 @@ jobs: # to use less space and speed up CI save-if: ${{ github.event_name == 'push' }} - - name: Download marine artifact - id: marine - uses: actions/download-artifact@v3 - continue-on-error: true - with: - name: marine - path: ~/.local/bin - - - name: Make marine executable - if: steps.marine.outcome == 'success' - run: chmod +x ~/.local/bin/marine - - name: Setup marine - if: steps.marine.outcome == 'failure' uses: fluencelabs/setup-marine@v1 + with: + artifact-name: marine - name: Download sqlite-wasm uses: actions/download-artifact@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 050236f..b575d45 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,21 +24,10 @@ jobs: - name: Setup Rust toolchain uses: actions-rust-lang/setup-rust-toolchain@v1 - - name: Download marine artifact - id: marine - uses: actions/download-artifact@v3 - continue-on-error: true - with: - name: marine - path: ~/.local/bin - - - name: Make marine executable - if: steps.marine.outcome == 'success' - run: chmod +x ~/.local/bin/marine - - name: Setup marine - if: steps.marine.outcome == 'failure' uses: fluencelabs/setup-marine@v1 + with: + artifact-name: marine - name: Download sqlite-wasm uses: actions/download-artifact@v3