workflow: update workflow

This commit is contained in:
kailong321200875 2022-02-21 19:37:10 +08:00
parent 3812f784af
commit 83839ff8a1
2 changed files with 9 additions and 16 deletions

View File

@ -1,4 +1,4 @@
name: deploy
name: Deploy
on:
push:

View File

@ -1,24 +1,17 @@
name: Create Release
name: Release
on:
push:
tags:
- v*
- 'v*'
jobs:
build:
name: Create Release
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Create Release for Tag
id: release_tag
uses: yyx990803/release-tag@master
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_DEPLOY_KEY }}
- uses: actions/checkout@v2
with:
tag_name: ${{ github.ref }}
body: |
Please refer to [CHANGELOG.md](https://github.com/kailong321200875/vue-element-plus-admin/blob/master/CHANGELOG.md) for details.
fetch-depth: 0
- run: npx conventional-github-releaser -p angular
env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}