Skip to content

Commit 1ecca71

Browse files
committed
Fixes
1 parent 87e35ec commit 1ecca71

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/Update.Unturned.Redist.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
name: "Update Redist"
6464
runs-on: ubuntu-latest
6565
needs: determine-variants
66+
continue-on-error: true
6667
strategy:
6768
matrix:
6869
variant: ${{ fromJson(needs.determine-variants.outputs.variants) }}
@@ -71,6 +72,7 @@ jobs:
7172
steps:
7273
- name: Determine APP_ID, APP_BRANCH_NAME, APP_DEPOT_ID, and REDIST_DIR
7374
id: vars
75+
continue-on-error: true
7476
run: |
7577
if [[ "${{ matrix.variant }}" == client || "${{ matrix.variant }}" == client-preview || "${{ matrix.variant }}" == client-preview-publicized || "${{ matrix.variant }}" == client-preview-old ]]; then
7678
echo "APP_ID=304930" >> $GITHUB_ENV
@@ -131,6 +133,7 @@ jobs:
131133

132134
- name: Compare current vs saved manifest
133135
id: compare_manifest
136+
continue-on-error: true
134137
run: |
135138
MANIFEST_FILE="redist/redist-manifests/.manifest.redist-${{ matrix.variant }}.txt"
136139
@@ -191,6 +194,7 @@ jobs:
191194
192195
- name: Run redist updater
193196
if: steps.compare_manifest.outputs.manifest_changed == 'true'
197+
continue-on-error: true
194198
run: |
195199
flags=""
196200
@@ -219,6 +223,12 @@ jobs:
219223
220224
dotnet redist_tool/UnturnedRedistUpdateTool.dll "$GITHUB_WORKSPACE" "$GITHUB_WORKSPACE/$REDIST_DIR" "$APP_ID" $flags
221225
226+
- name: Skip job if no manifest changes
227+
if: steps.compare_manifest.outputs.manifest_changed != 'true'
228+
run: |
229+
echo "Skipping ${{ matrix.variant }} - no manifest changes detected"
230+
exit 0
231+
222232
- name: Generate Commit Message
223233
if: steps.compare_manifest.outputs.manifest_changed == 'true'
224234
run: |

0 commit comments

Comments
 (0)