Skip to content

Commit

Permalink
Download the signed msi artifact and unzip it before Bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonleenaylor committed Jun 6, 2024
1 parent 62e376c commit 3dc1c03
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:

build-offline-bundle:
name: Build offline bundle
# needs: sign-msi
needs: sign-msi
if: github.event_name != 'pull_request'
runs-on: windows-latest
steps:
Expand All @@ -152,10 +152,21 @@ jobs:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2

- name: Download FlexBridge artifact
uses: actions/download-artifact@v4
with:
name: FlexBridge.msi
path: src/WiXInstaller/BaseInstallerBuild # Target directory for the downloaded artifact
run: ls -R src/WiXInstaller/BaseInstallerBuild

# - name: Unzip FlexBridge artifact
# run: unzip src/WiXInstaller/BaseInstallerBuild/FlexBridge.msi.zip -d src/WiXInstaller/BaseInstallerBuild

# All the following are used only when building an installer after a merge
- name: Build Bundles
id: build_bundles
shell: cmd
run: |
msbuild build/FLExBridge.proj /t:RestoreBuildTasks;RestorePackages
msbuild build/FLExBridge.proj /t:BuildProductBaseBundles

0 comments on commit 3dc1c03

Please sign in to comment.