Skip to content

Commit

Permalink
Publish as single file executable during CD
Browse files Browse the repository at this point in the history
  • Loading branch information
bc3tech committed Jul 14, 2024
1 parent 9768a0f commit 2c647d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
dotnet-version: 8.x

- name: dotnet publish
run: dotnet publish --self-contained -r win-x64 -f net8.0 -c release /p:Version=${{ env.APP_VERSION }}
run: dotnet publish -o pub -c release -p:PublishSingleFile=true -p:Version=${{ env.APP_VERSION }}

- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: binaries
path: bin\Release\net8.0\win-x64\publish\**
path: pub
choco-pack:
needs: build
runs-on: windows-latest
Expand Down

0 comments on commit 2c647d7

Please sign in to comment.