Skip to content

Commit f3640ec

Browse files
Simplify conditional checks in CI workflow
Signed-off-by: Shadownite133 <shadownite0130@gmail.com>
1 parent 92fbf87 commit f3640ec

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci-build-linux.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,15 @@ jobs:
193193
VSCODE_SYSROOT_VERSION: ${{ steps.build.outputs.VSCODE_SYSROOT_VERSION }}
194194
VSCODE_SYSROOT_PREFIX: ${{ steps.build.outputs.VSCODE_SYSROOT_PREFIX }}
195195
run: ./prepare_assets.sh
196-
if: env.DISABLED != 'yes' && github.event.inputs.generate_assets == 'true'
196+
if: env.DISABLED != 'yes'
197197

198198
- name: Upload assets
199199
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
200200
with:
201201
name: bin-${{ matrix.vscode_arch }}
202202
path: assets/
203203
retention-days: 3
204-
if: env.DISABLED != 'yes' && github.event.inputs.generate_assets == 'true'
204+
if: env.DISABLED != 'yes'
205205

206206
reh_linux:
207207
needs:
@@ -287,22 +287,22 @@ jobs:
287287
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
288288
with:
289289
name: vscode
290-
if: env.DISABLED != 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true')
290+
if: env.DISABLED != 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no')
291291

292292
- name: Build
293293
env:
294294
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
295295
npm_config_arch: ${{ matrix.npm_arch }}
296296
run: ./build/linux/package_reh.sh
297-
if: env.DISABLED != 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true')
297+
if: env.DISABLED != 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no')
298298

299299
- name: Upload assets
300300
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
301301
with:
302302
name: reh-linux-${{ matrix.vscode_arch }}
303303
path: assets/
304304
retention-days: 3
305-
if: env.DISABLED != 'yes' && github.event.inputs.generate_assets == 'true'
305+
if: env.DISABLED != 'yes'
306306

307307
reh_alpine:
308308
needs:

0 commit comments

Comments
 (0)