|
63 | 63 | name: "Update Redist" |
64 | 64 | runs-on: ubuntu-latest |
65 | 65 | needs: determine-variants |
| 66 | + continue-on-error: true |
66 | 67 | strategy: |
67 | 68 | matrix: |
68 | 69 | variant: ${{ fromJson(needs.determine-variants.outputs.variants) }} |
|
71 | 72 | steps: |
72 | 73 | - name: Determine APP_ID, APP_BRANCH_NAME, APP_DEPOT_ID, and REDIST_DIR |
73 | 74 | id: vars |
| 75 | + continue-on-error: true |
74 | 76 | run: | |
75 | 77 | if [[ "${{ matrix.variant }}" == client || "${{ matrix.variant }}" == client-preview || "${{ matrix.variant }}" == client-preview-publicized || "${{ matrix.variant }}" == client-preview-old ]]; then |
76 | 78 | echo "APP_ID=304930" >> $GITHUB_ENV |
@@ -131,6 +133,7 @@ jobs: |
131 | 133 |
|
132 | 134 | - name: Compare current vs saved manifest |
133 | 135 | id: compare_manifest |
| 136 | + continue-on-error: true |
134 | 137 | run: | |
135 | 138 | MANIFEST_FILE="redist/redist-manifests/.manifest.redist-${{ matrix.variant }}.txt" |
136 | 139 | |
@@ -191,6 +194,7 @@ jobs: |
191 | 194 |
|
192 | 195 | - name: Run redist updater |
193 | 196 | if: steps.compare_manifest.outputs.manifest_changed == 'true' |
| 197 | + continue-on-error: true |
194 | 198 | run: | |
195 | 199 | flags="" |
196 | 200 | |
@@ -219,6 +223,12 @@ jobs: |
219 | 223 | |
220 | 224 | dotnet redist_tool/UnturnedRedistUpdateTool.dll "$GITHUB_WORKSPACE" "$GITHUB_WORKSPACE/$REDIST_DIR" "$APP_ID" $flags |
221 | 225 |
|
| 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 | +
|
222 | 232 | - name: Generate Commit Message |
223 | 233 | if: steps.compare_manifest.outputs.manifest_changed == 'true' |
224 | 234 | run: | |
|
0 commit comments