Skip to content

Commit

Permalink
Update build.yml to upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJoeFin authored Feb 22, 2025
1 parent 72ebd4c commit b8d9f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
run: dotnet publish ${{ env.PROJECT_PATH }} -c Release --self-contained -r win-x64 -p:PublishSingleFile=true -o publish

- name: Upload artifact
id: upload_artifact
uses: actions/upload-artifact@v4
with:
name: Auto
Expand All @@ -44,5 +45,5 @@ jobs:
- uses: csexton/release-asset-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pattern: Auto/bin/Release/net9.0/win-x64/publish/*.exe
file: ${{ steps.upload_artifact.artifact-url }}
release-url: ${{ steps.create_release.outputs.upload_url }}

0 comments on commit b8d9f98

Please sign in to comment.