Compare commits
2 Commits
v20260109.
...
20260109.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
1f7a934b3f
|
|||
|
5de544c91e
|
@@ -1,7 +1,8 @@
|
||||
name: Release Creation
|
||||
|
||||
on:
|
||||
push:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -45,12 +46,24 @@ jobs:
|
||||
git log -1 --pretty=%B
|
||||
echo EOF
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Verify GITEA_TOKEN is present
|
||||
shell: bash
|
||||
env:
|
||||
TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
if [ -z "$TOKEN" ]; then
|
||||
echo "github.token secret is missing in this run context."
|
||||
exit 1
|
||||
fi
|
||||
echo "github.token present. ${TOKEN}"
|
||||
# Create a release for this specific version
|
||||
- name: Update Release with Files
|
||||
id: create_version_release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
env:
|
||||
TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
with:
|
||||
token: ${{ TOKEN }}
|
||||
files: |-
|
||||
./dist/module.json
|
||||
./dist/module.zip
|
||||
|
||||
Reference in New Issue
Block a user