Add Gitea release trigger for Go package publishing
This commit is contained in:
1 parent
61b1eda37d
commit
d3cb76dc32
2 files changed
+5
-2
No files matched your search
@@ -4,6 +4,9 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- 'backend/v*'
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
@@ -32,7 +35,7 @@ jobs:
|
||||
|
||||
- name: Package Go module
|
||||
env:
|
||||
RELEASE_TAG: ${{ github.ref_name }}
|
||||
RELEASE_TAG: ${{ github.event_name == 'release' && github.event.release.tag_name || github.ref_name }}
|
||||
run: bash scripts/package-go-module.sh "$RELEASE_TAG" "$RUNNER_TEMP/gitea-go-package"
|
||||
|
||||
- name: Publish to Gitea Package Registry
|
||||
|
||||
Reference in new issue
Block a user