fix on tag workflow

This commit is contained in:
Dethrace Labs 2022-09-17 06:43:36 +12:00
parent b6f1d48ea7
commit 8471091fbc
1 changed files with 16 additions and 16 deletions

View File

@ -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 }}