diff --git a/.github/workflows/stable-linux.yml b/.github/workflows/stable-linux.yml index 502c90070d3..53130890c93 100644 --- a/.github/workflows/stable-linux.yml +++ b/.github/workflows/stable-linux.yml @@ -15,22 +15,24 @@ on: repository_dispatch: types: [stable] push: - branches: [ release ] + branches: [release] paths-ignore: - - '**/*.md' + - "**/*.md" pull_request: - branches: [ release ] + branches: [release] paths-ignore: - - '**/*.md' + - "**/*.md" env: APP_NAME: Codex ASSETS_REPOSITORY: ${{ github.repository }} BINARY_NAME: codium - DISABLE_UPDATE: 'yes' + DISABLE_UPDATE: "yes" OS_NAME: linux VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions VSCODE_QUALITY: stable + SHOULD_DEPLOY: "yes" + SHOULD_BUILD: "yes" jobs: check: @@ -60,7 +62,7 @@ jobs: - name: Check existing Codex tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CHECK_ALL: 'yes' + CHECK_ALL: "yes" run: ./check_tags.sh compile: @@ -72,7 +74,7 @@ jobs: MS_TAG: ${{ needs.check.outputs.MS_TAG }} RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }} SHOULD_BUILD: ${{ (needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true') && 'yes' || 'no' }} - VSCODE_ARCH: 'x64' + VSCODE_ARCH: "x64" outputs: BUILD_SOURCEVERSION: ${{ env.BUILD_SOURCEVERSION }} @@ -85,7 +87,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: '18.17' + node-version: "18.17" if: env.SHOULD_BUILD == 'yes' - name: Install Yarn @@ -95,7 +97,7 @@ jobs: - name: Setup Python 3 uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: "3.11" if: env.SHOULD_BUILD == 'yes' - name: Install libkrb5-dev @@ -110,7 +112,7 @@ jobs: - name: Build env: - SHOULD_BUILD_REH: 'no' + SHOULD_BUILD_REH: "no" run: ./build.sh if: env.SHOULD_BUILD == 'yes' @@ -139,15 +141,15 @@ jobs: fail-fast: false matrix: include: - - vscode_arch: x64 - npm_arch: x64 - image: vscodium/vscodium-linux-build-agent:bionic-x64 - - vscode_arch: arm64 - npm_arch: arm64 - image: vscodium/vscodium-linux-build-agent:bionic-arm64 - - vscode_arch: armhf - npm_arch: arm - image: vscodium/vscodium-linux-build-agent:bionic-armhf + - vscode_arch: x64 + npm_arch: x64 + image: vscodium/vscodium-linux-build-agent:bionic-x64 + - vscode_arch: arm64 + npm_arch: arm64 + image: vscodium/vscodium-linux-build-agent:bionic-arm64 + - vscode_arch: armhf + npm_arch: arm + image: vscodium/vscodium-linux-build-agent:bionic-armhf container: image: ${{ matrix.image }} env: @@ -176,7 +178,7 @@ jobs: - name: Check existing Codex tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CHECK_REH: 'no' + CHECK_REH: "no" run: ./check_tags.sh if: env.SHOULD_BUILD == 'yes' @@ -199,7 +201,7 @@ jobs: - name: Prepare assets env: - SHOULD_BUILD_REH: 'no' + SHOULD_BUILD_REH: "no" run: ./prepare_assets.sh if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true') @@ -235,16 +237,16 @@ jobs: fail-fast: false matrix: include: - - vscode_arch: x64 - npm_arch: x64 - - vscode_arch: arm64 - npm_arch: arm64 - - vscode_arch: armhf - npm_arch: arm - - vscode_arch: ppc64le - npm_arch: ppc64 - - vscode_arch: riscv64 - npm_arch: riscv64 + - vscode_arch: x64 + npm_arch: x64 + - vscode_arch: arm64 + npm_arch: arm64 + - vscode_arch: armhf + npm_arch: arm + - vscode_arch: ppc64le + npm_arch: ppc64 + - vscode_arch: riscv64 + npm_arch: riscv64 env: BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }} MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }} @@ -263,12 +265,12 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: '18.17' + node-version: "18.17" - name: Setup Python 3 uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: "3.11" - name: Install libkrb5-dev run: sudo apt-get install -y libkrb5-dev @@ -280,7 +282,7 @@ jobs: - name: Check existing Codex tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CHECK_ONLY_REH: 'yes' + CHECK_ONLY_REH: "yes" run: ./check_tags.sh - name: Download vscode artifact @@ -320,10 +322,10 @@ jobs: fail-fast: false matrix: include: - - vscode_arch: x64 - npm_arch: x64 - - vscode_arch: arm64 - npm_arch: arm64 + - vscode_arch: x64 + npm_arch: x64 + - vscode_arch: arm64 + npm_arch: arm64 env: BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }} MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }} @@ -346,7 +348,7 @@ jobs: - name: Check existing Codex tags/releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CHECK_ONLY_REH: 'yes' + CHECK_ONLY_REH: "yes" run: ./check_tags.sh - name: Install libkrb5-dev @@ -390,10 +392,10 @@ jobs: fail-fast: false matrix: include: - - package_name: vscodium - package_type: stable - - package_name: vscodium-git - package_type: rolling + - package_name: vscodium + package_type: stable + - package_name: vscodium-git + package_type: rolling if: needs.check.outputs.SHOULD_DEPLOY == 'yes' steps: @@ -418,8 +420,8 @@ jobs: fail-fast: false matrix: platform: - - amd64 - - arm64 + - amd64 + - arm64 if: needs.check.outputs.SHOULD_DEPLOY == 'yes' steps: @@ -445,7 +447,7 @@ jobs: - uses: diddlesnaps/snapcraft-review-action@v1 with: snap: ${{ steps.build.outputs.snap }} - isClassic: 'true' + isClassic: "true" if: env.SHOULD_DEPLOY_TO_RELEASE == 'yes' || env.SHOULD_DEPLOY_TO_STORE == 'yes' - uses: svenstaro/upload-release-action@v2 diff --git a/.github/workflows/stable-macos.yml b/.github/workflows/stable-macos.yml index 66bcd39705e..5348e883bf9 100644 --- a/.github/workflows/stable-macos.yml +++ b/.github/workflows/stable-macos.yml @@ -29,6 +29,8 @@ env: OS_NAME: osx VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions VSCODE_QUALITY: stable + SHOULD_DEPLOY: "yes" + SHOULD_BUILD: "yes" jobs: build: diff --git a/.github/workflows/stable-windows.yml b/.github/workflows/stable-windows.yml index aa896828c30..b8e8b14b88c 100644 --- a/.github/workflows/stable-windows.yml +++ b/.github/workflows/stable-windows.yml @@ -29,6 +29,8 @@ env: OS_NAME: windows VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions VSCODE_QUALITY: stable + SHOULD_DEPLOY: "yes" + SHOULD_BUILD: "yes" jobs: build: