Create line for artifact treatment
This commit is contained in:
parent
18b1cbf48e
commit
d11f7ab24e
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@ -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
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
/target/
|
||||
/logs/
|
||||
/dist/
|
||||
/.idea/workspace.xml
|
||||
|
Loading…
Reference in New Issue
Block a user