Run workflow on tag creation and create release automatically

This commit is contained in:
DarkFighterLuke
2024-05-08 23:24:07 +02:00
parent a5904a5310
commit 9f2c7e4510
+9 -11
View File
@@ -1,9 +1,9 @@
name: Stable Release name: TubeArchivistMetadata Release
on: on:
release: push:
types: tags:
- released - v*
branches: master branches: master
jobs: jobs:
@@ -54,14 +54,12 @@ jobs:
dotnet-target: net6.0 dotnet-target: net6.0
version: ${VERSION} version: ${VERSION}
- name: Upload Release - name: Create release
uses: svenstaro/upload-release-action@v2 uses: ncipollo/release-action@v1
id: upload
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.jprm.outputs.artifact }} artifacts: ${{ steps.jprm.outputs.artifact }}
tag: ${{ github.ref }} makeLatest: latest
asset_name: TubeArchivistMetadata-${{ env.VERSION }}.zip
body: ${{ env.RELEASE_MESSAGE }} body: ${{ env.RELEASE_MESSAGE }}
- name: Update manifest.json - name: Update manifest.json