Compare commits
5 Commits
v20260109.
...
v20260109.
| Author | SHA1 | Date | |
|---|---|---|---|
|
c0aa042292
|
|||
|
b528aefdd5
|
|||
|
baffa8f2bc
|
|||
|
22f6ad45ce
|
|||
|
0d7867a79f
|
@@ -1,8 +1,7 @@
|
|||||||
name: Release Creation
|
name: Release Creation
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [published]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -46,24 +45,12 @@ jobs:
|
|||||||
git log -1 --pretty=%B
|
git log -1 --pretty=%B
|
||||||
echo EOF
|
echo EOF
|
||||||
} >> "$GITHUB_OUTPUT"
|
} >> "$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
|
# Create a release for this specific version
|
||||||
- name: Update Release with Files
|
- name: Update Release with Files
|
||||||
id: create_version_release
|
id: create_version_release
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
env:
|
|
||||||
TOKEN: ${{ secrets.GITEA_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
token: ${{ TOKEN }}
|
|
||||||
files: |-
|
files: |-
|
||||||
./dist/module.json
|
./dist/module.json
|
||||||
./dist/module.zip
|
./dist/module.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user