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: on:
push: push:

View File

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