Skip to content

Commit

Permalink
Update release-win.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Learner00100 authored Oct 8, 2024
1 parent edcfee4 commit 06e1af6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,24 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run release-windows

- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: windows-x64-release-${{ github.run_number }}
release_name: "Windows x64 Release"
draft: false
prerelease: false

- name: Upload .exe to GitHub Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/*.exe
asset_name: "chatall.exe"
asset_content_type: application/octet-stream

0 comments on commit 06e1af6

Please sign in to comment.