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
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
push:
|
||||
# Pattern matched against refs/tags
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -24,8 +26,8 @@ jobs:
|
||||
env:
|
||||
version: ${{steps.get_version.outputs.version-without-v}}
|
||||
url: https://gitea.ascorrea.com/${{github.repository}}
|
||||
manifest: https://gitea.ascorrea.com/${{github.repository}}/releases/latest/download/module.json
|
||||
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
|
||||
manifest: https://gitea.ascorrea.com/${{github.repository}}/releases/download/latest/module.json
|
||||
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
|
||||
- name: Create files (module.zip, module.json) for release
|
||||
|
||||
Reference in New Issue
Block a user