Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalmers committed Jan 4, 2024
1 parent 5449488 commit bc9fb19
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/prepare-for-release/action.yml
Original file line number Diff line number Diff line change
@@ -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: |
Expand Down

0 comments on commit bc9fb19

Please sign in to comment.