Run workflow on tag creation and create release automatically
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
name: Stable Release
|
||||
name: TubeArchivistMetadata Release
|
||||
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- released
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
branches: master
|
||||
|
||||
jobs:
|
||||
@@ -54,14 +54,12 @@ jobs:
|
||||
dotnet-target: net6.0
|
||||
version: ${VERSION}
|
||||
|
||||
- name: Upload Release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
id: upload
|
||||
- name: Create release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: ${{ steps.jprm.outputs.artifact }}
|
||||
tag: ${{ github.ref }}
|
||||
asset_name: TubeArchivistMetadata-${{ env.VERSION }}.zip
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
artifacts: ${{ steps.jprm.outputs.artifact }}
|
||||
makeLatest: latest
|
||||
body: ${{ env.RELEASE_MESSAGE }}
|
||||
|
||||
- name: Update manifest.json
|
||||
|
||||
Reference in New Issue
Block a user