Skip to content

Commit

Permalink
release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
dickreuter committed Dec 30, 2023
1 parent 85efe15 commit b491ad4
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,23 @@ jobs:
- name: Run NSIS
run: makensis -V3 poker\DeepMindPokerbot.nsi

- name: Upload Artifacts
uses: actions/upload-artifact@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: compiled-app
path: DeepMindPokerbot_winstaller.exe
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

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

0 comments on commit b491ad4

Please sign in to comment.