diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0cd0f9ea..7021300b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.gitignore b/.gitignore index 30ce193d..c48e4c9b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ /.vscode/ /target/ /logs/ -/dist/ \ No newline at end of file +/dist/ +/.idea/workspace.xml