Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMeepso authored Nov 6, 2024
1 parent 29b2a51 commit d9cf03b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

# Step 4: Publish the project
- name: Publish the application
run: dotnet publish -c Release -o ./publish # Output to ./publish folder
run: dotnet publish -c Release -r win-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -o ./publish

# Step 5: Zip the publish folder
- name: Zip the publish folder
Expand All @@ -52,5 +52,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./publish/published_app.zip
asset_name: published_app.zip
asset_name: win64.zip
asset_content_type: application/zip

0 comments on commit d9cf03b

Please sign in to comment.