diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ce63316..269fa21 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -104,7 +104,20 @@ 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 - name: Set dependencies