Skip to content

Commit

Permalink
Upload un-signed msi for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonleenaylor committed May 29, 2024
1 parent ca3e97a commit b8e32f8
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ jobs:
if: github.event_name != 'pull_request'

- name: Downgrade Wix Toolset - remove when runner has 3.14.2
shell: cmd
run: choco install wixtoolset --version 3.11.2 --allow-downgrade --force
run: |
choco uninstall wixtoolset
choco install wixtoolset --version 3.11.2 --allow-downgrade --force
echo "C:\Program Files (x86)\WiX Toolset v3.11\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
# If we are just doing a CI build we don't need real localizations, but the location must exist
- name: Add Fake Localizations for CI
Expand Down Expand Up @@ -98,6 +100,8 @@ jobs:
id: build_msi
shell: cmd
run: |
echo %PATH%
candle -?
msbuild build/FLExBridge.proj /t:CleanMasterOutputDir;PreparePublishingArtifactsInternal;BuildProductBaseMsi /p:UploadFolder=${{ inputs.environment || 'Alpha' }}
if: github.event_name != 'pull_request'

Expand All @@ -108,6 +112,16 @@ jobs:
id: gathered_files
if: github.event_name != 'pull_request'

- name: upload-unsigned-msi
id: upload-unsigned
uses: actions/upload-artifact@v4
with:
name: FlexBridge-unsigned.msi
path: ${{ steps.gathered_files.outputs.FILES_TO_SIGN }}
if-no-files-found: error
overwrite: true
if: github.event_name != 'pull_request'

- name: upload-msi
id: upload
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b8e32f8

Please sign in to comment.