mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
ci: Add some sanity conditions for skips; formatting
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
a86bb8b8c7
commit
d992333f2e
5 files changed
+38
-8
No files matched your search
@@ -5,7 +5,6 @@ on:
|
||||
inputs:
|
||||
bake_targets:
|
||||
type: string
|
||||
default: '["default"]'
|
||||
description: Bake Matrix
|
||||
cargo_profiles:
|
||||
type: string
|
||||
@@ -58,7 +57,13 @@ on:
|
||||
|
||||
jobs:
|
||||
bake:
|
||||
if: ${{ !failure() && !cancelled() && fromJSON(inputs.machines)[0] != null }}
|
||||
if: >
|
||||
${{
|
||||
!failure() && !cancelled()
|
||||
&& fromJSON(inputs.machines)[0] != null
|
||||
&& fromJSON(inputs.bake_targets)[0] != null
|
||||
}}
|
||||
|
||||
name: >
|
||||
${{matrix.bake_target}}
|
||||
${{matrix.cargo_profile}}
|
||||
|
||||
Reference in new issue
Block a user