Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Joaquim Rocha <joaquim.rocha@microsoft.com>
  • Loading branch information
joaquimrocha committed Nov 17, 2023
1 parent 758c3dc commit ef34e84
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/app-artifacts-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ jobs:
uses: crazy-max/ghaction-chocolatey@v1
with:
args: install make
- name: "Install Wix"
if: ${{ inputs.msi }}
shell: pwsh
run: |
mkdir C:\wix
cd C:\wix
curl -sSfLO wix.zip https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
Expand-Archive C:\wix.zip -DestinationPath C:\wix
rm wix.zip
- name: Fetch certificates
if: ${{ inputs.signBinaries }}
shell: pwsh
Expand Down Expand Up @@ -82,10 +91,11 @@ jobs:
} else {
echo "Not signing binaries"
}
$env:PATH = $env:PATH + ";C:\wix;"
make app-win
- name: App Windows MSI
if: ${{ inputs.msi }}
shell: pwsh
shell: bash
working-directory: headlamp
run: |
if ("${{ inputs.signBinaries }}" -eq "true") {
Expand All @@ -95,7 +105,7 @@ jobs:
} else {
echo "Not signing binaries"
}
winget install WixToolset.AdditionalTools
export PATH="/c/wix:$PATH"
make app-win-msi
- name: Upload artifact
Expand Down

0 comments on commit ef34e84

Please sign in to comment.