mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
ci: Workaround multi-line if-condition github bug; cleanup.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
841253692d
commit
873cac5731
7 files changed
+115
-93
No files matched your search
@@ -39,9 +39,8 @@ on:
|
||||
jobs:
|
||||
build_standalone:
|
||||
if: >
|
||||
${{
|
||||
!failure() && !cancelled()
|
||||
}}
|
||||
!failure() && !cancelled()
|
||||
|
||||
name: Standalone
|
||||
uses: ./.github/workflows/bake.yml
|
||||
with:
|
||||
@@ -64,12 +63,11 @@ jobs:
|
||||
|
||||
build_pkgs:
|
||||
if: >
|
||||
${{
|
||||
!failure() && !cancelled()
|
||||
&& contains(fromJSON(inputs.feat_sets), fromJSON('["all"]')[0])
|
||||
&& contains(fromJSON(inputs.cargo_profiles), fromJSON('["release"]')[0])
|
||||
&& contains(fromJSON(inputs.rust_toolchains), fromJSON('["stable"]')[0])
|
||||
}}
|
||||
!failure() && !cancelled()
|
||||
&& contains(fromJSON(inputs.feat_sets), fromJSON('["all"]')[0])
|
||||
&& contains(fromJSON(inputs.cargo_profiles), fromJSON('["release"]')[0])
|
||||
&& contains(fromJSON(inputs.rust_toolchains), fromJSON('["stable"]')[0])
|
||||
|
||||
name: Build Pkgs
|
||||
uses: ./.github/workflows/bake.yml
|
||||
with:
|
||||
@@ -92,12 +90,11 @@ jobs:
|
||||
|
||||
check_pkgs:
|
||||
if: >
|
||||
${{
|
||||
!failure() && !cancelled()
|
||||
&& contains(fromJSON(inputs.feat_sets), fromJSON('["all"]')[0])
|
||||
&& contains(fromJSON(inputs.cargo_profiles), fromJSON('["release"]')[0])
|
||||
&& contains(fromJSON(inputs.rust_toolchains), fromJSON('["stable"]')[0])
|
||||
}}
|
||||
!failure() && !cancelled()
|
||||
&& contains(fromJSON(inputs.feat_sets), fromJSON('["all"]')[0])
|
||||
&& contains(fromJSON(inputs.cargo_profiles), fromJSON('["release"]')[0])
|
||||
&& contains(fromJSON(inputs.rust_toolchains), fromJSON('["stable"]')[0])
|
||||
|
||||
name: Check Pkgs
|
||||
needs: [build_pkgs]
|
||||
uses: ./.github/workflows/bake.yml
|
||||
|
||||
Reference in new issue
Block a user