Skip to content

Commit 87e35ec

Browse files
committed
Do not fail all jobs if any fail
1 parent 44e242f commit 87e35ec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/RocketModFix.Unturned.Redist.Matrix.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
build:
2929
name: "Build ${{ matrix.variant }}"
3030
runs-on: ubuntu-22.04
31+
continue-on-error: true
3132

3233
strategy:
3334
matrix:
@@ -98,6 +99,12 @@ jobs:
9899
fi
99100
echo "should_run=$SHOULD_RUN" >> $GITHUB_OUTPUT
100101
102+
- name: Skip job if not needed
103+
if: steps.check.outputs.should_run != 'true'
104+
run: |
105+
echo "Skipping ${{ matrix.variant }} - no changes detected or not selected for manual run"
106+
exit 0
107+
101108
- name: Setup NuGet
102109
if: steps.check.outputs.should_run == 'true'
103110
uses: nuget/setup-nuget@v2

0 commit comments

Comments
 (0)