Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 34 additions & 7 deletions .github/workflows/ci-dnn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
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