no message

This commit is contained in:
kuaifan 2021-12-21 17:34:25 +08:00
parent 675f00b8a0
commit 427d3c3b8d

View File

@ -2,36 +2,9 @@ name: Build
on: on:
push: push:
tags: branches: [ build ]
- 'v*'
jobs: jobs:
release:
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog
env:
REPO: ${{ github.repository }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
${{ steps.Changelog.outputs.changelog }}
draft: false
prerelease: false
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
environment: build environment: build
@ -45,7 +18,6 @@ jobs:
build-win build-win
] ]
if: startsWith(github.event.ref, 'refs/tags/v')
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2