diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-10-19 19:30:02 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-10-20 10:28:27 -0700 |
| commit | 4ca1a77e321c48078a0060ac116db4e755dff417 (patch) | |
| tree | 4d1ab710b078c0525446334ab68677a8bc7e7f77 /.github/workflows | |
| parent | 54ebab73cd3254c97ed1bc8e1abeed0b5d239177 (diff) | |
| download | wix-4ca1a77e321c48078a0060ac116db4e755dff417.tar.gz wix-4ca1a77e321c48078a0060ac116db4e755dff417.tar.bz2 wix-4ca1a77e321c48078a0060ac116db4e755dff417.zip | |
Import vsdevcmd environment variables if missing during build
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8246f03..e1ac1bd9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
| @@ -24,17 +24,13 @@ jobs: | |||
| 24 | - name: Checkout code | 24 | - name: Checkout code |
| 25 | uses: actions/checkout@v2 | 25 | uses: actions/checkout@v2 |
| 26 | 26 | ||
| 27 | - name: Setup dotnet | ||
| 28 | uses: actions/setup-dotnet@v1 | ||
| 29 | with: | ||
| 30 | dotnet-version: '5.0.x' | ||
| 31 | |||
| 32 | - name: Add MSBuild to PATH | ||
| 33 | uses: microsoft/setup-msbuild@v1.0.3 | ||
| 34 | |||
| 35 | - name: Build wix4 | 27 | - name: Build wix4 |
| 36 | shell: cmd | 28 | shell: cmd |
| 37 | run: ./build.cmd | 29 | run: ./src/build_official.cmd |
| 30 | env: | ||
| 31 | RuntimeTestsEnabled: ${{ github.ref == 'refs/heads/master' }} | ||
| 32 | SigningUser: ${{ github.ref == 'refs/heads/master' && secrets.WIX_SIGNING_USER || '' }} | ||
| 33 | SigningSecret: ${{ github.ref == 'refs/heads/master' && secrets.WIX_SIGNING_SECRET || '' }} | ||
| 38 | 34 | ||
| 39 | - name: Save build | 35 | - name: Save build |
| 40 | uses: actions/upload-artifact@v2 | 36 | uses: actions/upload-artifact@v2 |
