chore: Setup marine artifact from checks (#689)

Use marine artifact from checks
This commit is contained in:
Anatolios Laskaris 2023-09-04 14:57:22 +03:00 committed by GitHub
parent 46142f3163
commit 2fc1686e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 26 deletions

View File

@ -42,21 +42,10 @@ jobs:
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.3
- 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: Set dependencies
if: inputs.cargo-dependencies != 'null'

View File

@ -31,21 +31,10 @@ jobs:
- name: Setup Rust toolchain
uses: dsherret/rust-toolchain-file@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: Set dependencies
if: inputs.cargo-dependencies != 'null'