aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml20
1 files changed, 18 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3b32174c..69d3929e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -28,6 +28,8 @@ jobs:
28 build: 28 build:
29 name: Build 29 name: Build
30 runs-on: windows-2022 30 runs-on: windows-2022
31 permissions:
32 id-token: write
31 steps: 33 steps:
32 - name: Checkout code 34 - name: Checkout code
33 uses: actions/checkout@v3 35 uses: actions/checkout@v3
@@ -38,6 +40,11 @@ jobs:
38 # shell: cmd 40 # shell: cmd
39 # run: ./src/vs_config.cmd 41 # run: ./src/vs_config.cmd
40 42
43 - name: Install sign tool
44 if: (github.ref == 'refs/heads/master')
45 shell: cmd
46 run: dotnet tool install --tool-path build\.tools sign --version 0.9.1-beta.23356.1
47
41 - name: Configure automated logging and crash dumps 48 - name: Configure automated logging and crash dumps
42 shell: cmd 49 shell: cmd
43 run: | 50 run: |
@@ -50,13 +57,22 @@ jobs:
50 reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpCount /d 10 /f 57 reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpCount /d 10 /f
51 reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpType /d 1 58 reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpType /d 1
52 59
60 - name: 'Az CLI login'
61 if: (github.ref == 'refs/heads/master')
62 uses: azure/login@v1
63 with:
64 allow-no-subscriptions: true
65 client-id: ${{ secrets.WIX_SIGNING_CLIENTID }}
66 tenant-id: ${{ secrets.WIX_SIGNING_TENANTID }}
67 subscription-id: ${{ secrets.WIX_SIGNING_SUBSCRIPTIONID }}
68
53 - name: Build wix4 69 - name: Build wix4
54 shell: cmd 70 shell: cmd
55 run: ./src/build_official.cmd 71 run: ./src/build_official.cmd
56 env: 72 env:
57 RuntimeTestsEnabled: true 73 RuntimeTestsEnabled: true
58 SigningUser: ${{ github.ref == 'refs/heads/master' && secrets.WIX_SIGNING_USER || '' }} 74 SigningVaultUri: ${{ github.ref == 'refs/heads/master' && secrets.WIX_SIGNING_VAULTURI || '' }}
59 SigningSecret: ${{ github.ref == 'refs/heads/master' && secrets.WIX_SIGNING_SECRET || '' }} 75 SigningCertName: ${{ github.ref == 'refs/heads/master' && secrets.WIX_SIGNING_CERTNAME || '' }}
60 76
61 - name: Validate test results 77 - name: Validate test results
62 shell: cmd 78 shell: cmd