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: |