Skip to content

Commit

Permalink
ci: skip the undesired
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoranga authored Dec 21, 2024
1 parent b45e9d2 commit e61b4aa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/rusk_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
config:
runs-on: ubuntu
runs-on: ubuntu-latest
name: Show configuration
outputs:
archs: ${{steps.final.outputs.archs}}
Expand All @@ -39,6 +39,9 @@ jobs:
runs-on: ${{ matrix.os }}
needs:
- config
continue-on-error: |
! ( !contains(fromJson(github.event.inputs.runner), matrix.runner) ||
!contains(fromJson(github.event.inputs.features), matrix.features) )
strategy:
matrix:
features: ${{ fromJson(github.event.inputs.features) }}
Expand All @@ -61,7 +64,7 @@ jobs:
!contains(fromJson(github.event.inputs.features), matrix.features)
run: |
echo "Skipping build for ${{ matrix.runner }} - ${{ matrix.features }}"
exit 0
exit 1
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down

0 comments on commit e61b4aa

Please sign in to comment.