Skip to content

Commit

Permalink
Run the burn detatch and upload files
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonleenaylor committed Jun 7, 2024
1 parent add7ce0 commit 9874aef
Showing 1 changed file with 52 additions and 6 deletions.
58 changes: 52 additions & 6 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ jobs:
needs: sign-msi
if: github.event_name != 'pull_request'
runs-on: windows-latest
env:
FILESTOSIGNLATER: "${{ github.workspace }}\\filesToSign"
steps:
- name: Checkout Files
uses: actions/checkout@v4
Expand All @@ -158,16 +160,60 @@ jobs:
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
working-directory: build
shell: cmd
run: |
msbuild FLExBridge.proj /t:RestoreBuildTasks;RestorePackages
msbuild FLExBridge.proj /t:BuildProductBaseBundles /p:Configuration=Release /p:Platform="Any CPU"
msbuild FLExBridge.proj /t:RestoreBuildTasks;RestorePackages;GetDotNetFiles
msbuild FLExBridge.proj /t:BuildProductBaseBundles /p:Configuration=Release /p:Platform="Any CPU"
- name: Extract burn engines
id: extract_engines
working-directory: BuildDir
shell: cmd
run: |
insignia -ib FlexBridge_Offline.exe -o offline-engine.exe
insignia -ib FlexBridge_Online.exe -o online-engine.exe
- name: upload-offline-engine
id: upload
uses: actions/upload-artifact@v4
with:
name: offline-engine
path: BuildDir/offline-engine.exe
if-no-files-found: error
overwrite: true
if: github.event_name != 'pull_request'

- name: upload-offline-detached
id: upload
uses: actions/upload-artifact@v4
with:
name: offline-detached
path: BuildDir/FlexBridge_Offline.exe
if-no-files-found: error
overwrite: true
if: github.event_name != 'pull_request'

- name: upload-online-engine
id: upload
uses: actions/upload-artifact@v4
with:
name: online-engine
path: BuildDir/online-engine.exe
if-no-files-found: error
overwrite: true
if: github.event_name != 'pull_request'

- name: upload-online-detached
id: upload
uses: actions/upload-artifact@v4
with:
name: online-detached
path: BuildDir/FlexBridge_Online.exe
if-no-files-found: error
overwrite: true
if: github.event_name != 'pull_request'

0 comments on commit 9874aef

Please sign in to comment.