chore: Use marine from checks (#263)

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

View File

@ -51,21 +51,10 @@ jobs:
dependencies: ${{ inputs.cargo-dependencies }}
path: service/
- 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: Import secrets
if: inputs.snapshot == true

View File

@ -90,21 +90,10 @@ jobs:
with:
cache: false
- 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 != ''