From bc9fb1964fef5a78fe04b00ee40511d8a54be122 Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Wed, 3 Jan 2024 20:47:08 -0600 Subject: [PATCH] Update action --- .github/actions/prepare-for-release/action.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/actions/prepare-for-release/action.yml b/.github/actions/prepare-for-release/action.yml index eec37aa..cf97f0b 100644 --- a/.github/actions/prepare-for-release/action.yml +++ b/.github/actions/prepare-for-release/action.yml @@ -1,24 +1,30 @@ name: Prepare for release +description: Builds, tests, and creates an installer that's ready for release. + runs: using: "composite" steps: - uses: actions/setup-dotnet@v2 - name: Build + shell: bash run: dotnet build - name: Test + shell: bash run: dotnet test - name: Publish + shell: bash run: dotnet publish .\DesktopClock\DesktopClock.csproj -o "publish" -c Release -r win-x64 - name: Create installer + shell: bash run: | dotnet tool install --global wix --version 4.0.3 wix build Product.wxs -o "publish/Install DesktopClock.msi" - + - uses: actions/upload-artifact@v4 with: path: |