fix on tag workflow
This commit is contained in:
parent
b6f1d48ea7
commit
8471091fbc
|
|
@ -8,19 +8,19 @@ jobs:
|
|||
create-release:
|
||||
#needs: [build-linux, build-macos, build-windows]
|
||||
#if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# - name: Fetch build artifacts
|
||||
# uses: actions/download-artifact@v1
|
||||
# with:
|
||||
# name: artifacts
|
||||
- name: Create release
|
||||
id: create-release
|
||||
uses: actions/create-release@v1
|
||||
with:
|
||||
draft: false
|
||||
prerelease: false
|
||||
release_name: ${{ github.ref_name}}
|
||||
tag_name: ${{ github.ref }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# - name: Fetch build artifacts
|
||||
# uses: actions/download-artifact@v1
|
||||
# with:
|
||||
# name: artifacts
|
||||
- name: Create release
|
||||
id: create-release
|
||||
uses: actions/create-release@v1
|
||||
with:
|
||||
draft: false
|
||||
prerelease: false
|
||||
release_name: ${{ github.ref_name}}
|
||||
tag_name: ${{ github.ref }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
Loading…
Reference in New Issue