Skip to content

Commit 2f1871d

Browse files
Update CI workflow to enable script execution + 2
Added a one-liner to allow execution of all scripts in the repo to ensure scripts and builds run successfully. Removed generate_assets input and updated APP_NAME. Signed-off-by: Shadownite133 <shadownite0130@gmail.com>
1 parent 6cdd9ce commit 2f1871d

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: CI - Build - Linux
33
on:
44
workflow_dispatch:
55
inputs:
6-
generate_assets:
7-
type: boolean
8-
description: Generate assets
96
checkout_pr:
107
type: string
118
description: Checkout PR
@@ -23,7 +20,7 @@ on:
2320

2421
env:
2522
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
26-
APP_NAME: VSCodium
23+
APP_NAME: AetherCode
2724
BINARY_NAME: ${{ (github.ref == 'refs/heads/insider' || (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'insider')) && 'codium-insiders' || 'codium' }}
2825
DISABLE_UPDATE: yes
2926
GH_REPO_PATH: ${{ github.repository }}
@@ -51,6 +48,9 @@ jobs:
5148
ref: ${{ env.GITHUB_BRANCH }}
5249
persist-credentials: false
5350

51+
- name: Enable Script Execution for all Scripts
52+
run: find . -type f -name "*.sh" -exec chmod +x {} \;
53+
5454
- name: Switch to relevant branch
5555
env:
5656
PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
@@ -353,19 +353,16 @@ jobs:
353353
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
354354
with:
355355
name: vscode
356-
if: env.DISABLED != 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true')
357-
356+
358357
- name: Build
359358
env:
360359
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
361360
npm_config_arch: ${{ matrix.npm_arch }}
362361
run: ./build/alpine/package_reh.sh
363-
if: env.DISABLED != 'yes' && (env.SHOULD_BUILD_REH != 'no' || env.SHOULD_BUILD_REH_WEB != 'no' || github.event.inputs.generate_assets == 'true')
364362

365363
- name: Upload assets
366364
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
367365
with:
368366
name: reh-alpine-${{ matrix.vscode_arch }}
369367
path: assets/
370368
retention-days: 3
371-
if: env.DISABLED != 'yes' && github.event.inputs.generate_assets == 'true'

0 commit comments

Comments
 (0)