Skip to content

Commit

Permalink
fix: release yml
Browse files Browse the repository at this point in the history
  • Loading branch information
horw committed Jan 9, 2024
1 parent d0106cb commit 630f5d2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Build Workflow

on:
push:
# branches: master
tags:
- 'release'

jobs:
build-windows:
Expand Down Expand Up @@ -32,8 +33,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.head_commit.message }}
release_name: ${{ github.event.head_commit.message }}
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
overwrite: true
body: |
Test Release v1.0.0
Expand All @@ -42,11 +43,11 @@ jobs:

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
uses: actions/upload-release-asset@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{steps.create_release.outputs.upload_url}}
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/main.exe
asset_name: bqt.exe
asset_content_type: application/zip
asset_content_type: application/octet-stream

0 comments on commit 630f5d2

Please sign in to comment.