|
@@ -30,7 +30,6 @@ env:
|
|
|
VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions
|
|
|
VSCODE_QUALITY: stable
|
|
|
|
|
|
-
|
|
|
jobs:
|
|
|
build:
|
|
|
runs-on: windows-2019
|
|
@@ -44,7 +43,6 @@ jobs:
|
|
|
matrix:
|
|
|
vscode_arch:
|
|
|
- x64
|
|
|
- # - ia32
|
|
|
- arm64
|
|
|
outputs:
|
|
|
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
|
|
@@ -83,6 +81,7 @@ jobs:
|
|
|
|
|
|
- name: Check existing VSCodium tags/releases
|
|
|
env:
|
|
|
+ DISABLE_MSI: ${{ vars.DISABLE_STABLE_MSI }}
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
run: ./check_tags.sh
|
|
|
if: env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true'
|
|
@@ -99,6 +98,34 @@ jobs:
|
|
|
run: ./prepare_assets.sh
|
|
|
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
|
|
|
|
|
+ - name: Upload unsigned artifacts
|
|
|
+ id: upload-unsigned-artifacts
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
+ with:
|
|
|
+ name: unsigned-${{ matrix.vscode_arch }}
|
|
|
+ path: |
|
|
|
+ assets/*.exe
|
|
|
+ assets/*.msi
|
|
|
+ retention-days: 1
|
|
|
+ if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
|
|
+
|
|
|
+ - name: Signing
|
|
|
+ uses: signpath/github-action-submit-signing-request@v1
|
|
|
+ with:
|
|
|
+ api-token: ${{ secrets.SIGNPATH_API_TOKEN }}
|
|
|
+ organization-id: ${{ secrets.SIGNPATH_ORGANIZATION_ID }}
|
|
|
+ project-slug: ${{ secrets.SIGNPATH_PROJECT_SLUG }}
|
|
|
+ signing-policy-slug: ${{ secrets.SIGNPATH_POLICY_SLUG }}
|
|
|
+ github-artifact-id: ${{ steps.upload-unsigned-artifacts.outputs.artifact-id }}
|
|
|
+ artifact-configuration-slug: ${{ matrix.vscode_arch }}
|
|
|
+ wait-for-completion: true
|
|
|
+ output-artifact-directory: assets/
|
|
|
+ if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
|
|
+
|
|
|
+ - name: Prepare checksums
|
|
|
+ run: ./prepare_checksums.sh
|
|
|
+ if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
|
|
+
|
|
|
- name: Release
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|