Compare commits

...

8 Commits

Author SHA1 Message Date
5f1f83c2f1 20260109.105006 2026-01-09 10:50:06 -06:00
462c9f4833 20260109.104742
Some checks failed
Release Creation / build (release) Failing after 5s
2026-01-09 10:47:42 -06:00
6259a1c164 20260109.103642
Some checks failed
Release Creation / build (release) Failing after 6s
2026-01-09 10:36:42 -06:00
d7a3fbfdaa testing gitea_token in update release
Some checks failed
Release Creation / build (release) Failing after 5s
2026-01-09 16:26:50 +00:00
2c12bb4eb3 20250207.110507
Some checks failed
Release Creation / build (release) Failing after 10s
2025-02-07 11:05:07 -06:00
20d9dd9a62 20250207.110331
Some checks failed
Release Creation / build (release) Failing after 20s
2025-02-07 11:03:31 -06:00
809063f0f6 20250207.105633
All checks were successful
Release Creation / build (release) Successful in 23s
2025-02-07 10:56:33 -06:00
dd9f1d8157 Update release workflow to improve readability
All checks were successful
Release Creation / build (release) Successful in 33s
- Simplified workflow by removing redundant steps and streamlining the process.
- Enhanced output by adding a commit message step to provide better context for future reference.
- Improved code readability and maintainability by removing unnecessary steps and focusing on essential actions.
2025-02-07 10:26:53 -06:00
3 changed files with 19 additions and 9 deletions

View File

@@ -29,11 +29,12 @@ jobs:
# 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
working-directory: ./src
run: >
mkdir -p dist
&& git archive --format zip --output dist/module.zip HEAD:src
&& cp src/module.json dist/
&& echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
mkdir -p ../dist
&& zip -r ../dist/module.zip .
&& cp module.json ../dist/
&& echo \"Done!\nZipped module.json and copied module.js.\"
- name: Setting commit message variable
id: commit-message
@@ -45,15 +46,22 @@ jobs:
git log -1 --pretty=%B
echo EOF
} >> "$GITHUB_OUTPUT"
- name: retreive commit message
run: echo "commit message is ${{ steps.commit-message.outputs.COMMIT_MESSAGE }}"
- name: Verify GITEA_TOKEN is present
shell: bash
env:
TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
if [ -z "$TOKEN" ]; then
echo "GITEA_TOKEN secret is missing in this run context."
exit 1
fi
echo "GITEA_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
with:
token: ${{ secrets.GITEA_TOKEN }}
files: |-
./dist/module.json
./dist/module.zip

3
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.env
.secrets
.github/
.github/
*.sh

1
README.md Normal file
View File

@@ -0,0 +1 @@
Tag: 20260109.105006