Add universal tag trigger for release workflow
All checks were successful
Release Creation / build (push) Successful in 39s
All checks were successful
Release Creation / build (push) Successful in 39s
- Updated workflow to trigger on all tag pushes instead of just published releases.
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
name: Release Creation
|
name: Release Creation
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [published]
|
# Pattern matched against refs/tags
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -24,8 +26,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
version: ${{steps.get_version.outputs.version-without-v}}
|
version: ${{steps.get_version.outputs.version-without-v}}
|
||||||
url: https://gitea.ascorrea.com/${{github.repository}}
|
url: https://gitea.ascorrea.com/${{github.repository}}
|
||||||
manifest: https://gitea.ascorrea.com/${{github.repository}}/releases/latest/download/module.json
|
manifest: https://gitea.ascorrea.com/${{github.repository}}/releases/download/latest/module.json
|
||||||
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
|
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{ steps.get_version.outputs.version }}/module.zip
|
||||||
|
|
||||||
# Create a zip file with all files required by the module to add to the release
|
# Create a zip file with all files required by the module to add to the release
|
||||||
- name: Create files (module.zip, module.json) for release
|
- name: Create files (module.zip, module.json) for release
|
||||||
|
|||||||
Reference in New Issue
Block a user