ci: Only run ARM-related jobs if related settings are present
This allows CI to properly run through in a fork, which doesn't have the SSH_ARM_xxx settings.
This commit is contained in:
committed by
Wolfgang Walther
parent
6caaee777b
commit
b49e3b1e5b
@@ -35,6 +35,7 @@ jobs:
|
|||||||
|
|
||||||
arm:
|
arm:
|
||||||
name: Build / Cabal - aarch64 GHC 9.4.8
|
name: Build / Cabal - aarch64 GHC 9.4.8
|
||||||
|
if: vars.SSH_ARM_ENABLED
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
remotepath: ${{ steps.Remote-Dir.outputs.remotepath }}
|
remotepath: ${{ steps.Remote-Dir.outputs.remotepath }}
|
||||||
@@ -103,7 +104,9 @@ jobs:
|
|||||||
|
|
||||||
prepare:
|
prepare:
|
||||||
name: Release / Prepare
|
name: Release / Prepare
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: |
|
||||||
|
startsWith(github.ref, 'refs/tags/v') &&
|
||||||
|
(success() || needs.arm.result == 'skipped')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- docs
|
- docs
|
||||||
|
|||||||
Reference in New Issue
Block a user