From 0752d78096cb101b99b2828d573a50d0d0bbdd43 Mon Sep 17 00:00:00 2001 From: Mitchel Sellers Date: Fri, 16 May 2025 11:42:50 -0500 Subject: [PATCH] Foxed build --- .github/workflows/ci-dnn.yml | 41 ++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-dnn.yml b/.github/workflows/ci-dnn.yml index dc940b7..b081c58 100644 --- a/.github/workflows/ci-dnn.yml +++ b/.github/workflows/ci-dnn.yml @@ -2,14 +2,41 @@ name: CI/CD Build & Deploy on: push: - branches: [ develop ] + branches: [ master ] pull_request: - branches: [ develop ] + branches: [ master ] workflow_dispatch: jobs: - build_dnn: - uses: IowaComputerGurus/shared-github-actions/.github/workflows/dnn-build.yml@develop - name: 'Build DNN' - with: - solution-path: './ExpandableTextHtml.sln' \ No newline at end of file + build_and_store_dnn_extensions: + runs-on: windows-latest + name: Build And Store + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v2.0.0 + + - name: Restore NuGet Packages + run: nuget restore './ExpandableTextHtml.sln' + + - name: Build the solution + run: msbuild './ExpandableTextHtml.sln' /p:Configuration=Release; + + - name: Collect Installers + if: github.event_name != 'pull_request' + run: | + md installers + Get-ChildItem -Include *install.zip -Recurse | Copy-Item -Destination "installers\" + shell: powershell + working-directory: .\ + + - name: Store Install Package + if: github.event_name != 'pull_request' + uses: actions/upload-artifact@v4 + with: + name: installers + path: './installers/**_install.zip' + retention-days: 5 # only need long enough to test/validate \ No newline at end of file