From 9874aef998be3c8ff598b9ddc25cddb73d33a474 Mon Sep 17 00:00:00 2001 From: Jason Naylor Date: Thu, 6 Jun 2024 18:10:45 -0700 Subject: [PATCH] Run the burn detatch and upload files --- .github/workflows/ci-cd.yml | 58 +++++++++++++++++++++++++++++++++---- 1 file changed, 52 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index f0a6531e..3efd3224 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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 @@ -158,10 +160,6 @@ 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 @@ -169,5 +167,53 @@ jobs: working-directory: build shell: cmd run: | - msbuild FLExBridge.proj /t:RestoreBuildTasks;RestorePackages - msbuild FLExBridge.proj /t:BuildProductBaseBundles /p:Configuration=Release /p:Platform="Any CPU" \ No newline at end of file + 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' \ No newline at end of file