Create line for artifact treatment

This commit is contained in:
Thomas Roque 2023-05-01 14:15:37 +02:00
parent 18b1cbf48e
commit d11f7ab24e
2 changed files with 24 additions and 1 deletions

View File

@ -36,3 +36,25 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run dist
shell: bash
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}*
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: true
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
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: BTCV-Launcher.exe
asset_content_type: application/x-msdownload

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/target/
/logs/
/dist/
/.idea/workspace.xml