chore: Fail if fluence-cli artifact is no found (#338)

Fail if fluence-cli artifact is no found
This commit is contained in:
Anatolios Laskaris 2024-01-25 18:28:27 +02:00 committed by GitHub
parent 4efd6b2645
commit be6ca2e4b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,7 @@ on:
- ".github/**"
- "!.github/workflows/e2e.yml"
- "!.github/workflows/snapshot.yml"
- "!.github/workflows/tests.yml"
types:
- "labeled"
- "synchronize"
@ -20,6 +21,7 @@ on:
- ".github/**"
- "!.github/workflows/e2e.yml"
- "!.github/workflows/snapshot.yml"
- "!.github/workflows/tests.yml"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
@ -67,3 +69,4 @@ jobs:
with:
ref: ${{ github.ref }}
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
if-no-artifacts-found: warn

View File

@ -7,6 +7,7 @@ on:
- ".github/**"
- "!.github/workflows/run-tests.yml"
- "!.github/workflows/tests.yml"
- "!.github/workflows/e2e.yml"
types:
- "labeled"
- "synchronize"
@ -20,6 +21,7 @@ on:
- ".github/**"
- "!.github/workflows/run-tests.yml"
- "!.github/workflows/tests.yml"
- "!.github/workflows/e2e.yml"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"

View File

@ -15,6 +15,10 @@ on:
description: "@fluencelabs/cli version"
type: string
default: "main"
if-no-artifacts-found:
description: "What to do when no artifacts found in setup-* actions"
type: string
default: "error"
cargo-dependencies:
description: "Cargo dependencies map"
type: string
@ -81,6 +85,7 @@ jobs:
with:
artifact: fcli
version: ${{ inputs.fcli-version }}
if-no-artifact-found: ${{ inputs.if-no-artifacts-found }}
- name: Setup Rust toolchain
uses: dsherret/rust-toolchain-file@v1