5 Commits

Author SHA1 Message Date
95deda1f59 v1.0.0
All checks were successful
Release / release (push) Successful in 3s
2026-03-08 23:56:50 +00:00
3f3d1e1e5d Ensure all tags are fetched when checking out the repo
All checks were successful
Release / release (push) Successful in 3s
2026-03-08 23:55:19 +00:00
877b8e9a04 Update release workflow
Some checks failed
Release / release (push) Failing after 2s
2026-03-08 23:52:05 +00:00
4ce59f537c Trigger workflow one more time
Some checks failed
Release / release (push) Failing after 3s
2026-03-08 23:44:02 +00:00
7d13bde13b Trigger workflow 2026-03-08 23:40:18 +00:00

View File

@@ -10,11 +10,12 @@ jobs:
runs-on: self-hosted
steps:
# 1. Checkout repository
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch full history
tags: true # fetch all tags
# 2. Read VERSION file and check if tag exists
- name: Check/Create Tag
id: tag
run: |
@@ -33,7 +34,6 @@ jobs:
echo "version=$VERSION" >> $GITHUB_OUTPUT
# 3. Build artifacts (only runs if tag did not exist)
- name: Build Artifacts
if: steps.tag.outputs.version
run: |
@@ -41,7 +41,6 @@ jobs:
./package
ls -l dist/
# 4. Create release
- name: Create Release
if: steps.tag.outputs.version
id: create_release
@@ -63,7 +62,6 @@ jobs:
RELEASE_ID=$(echo $RESPONSE | jq -r '.id')
echo "release_id=$RELEASE_ID" >> $GITHUB_OUTPUT
# 5. Upload artifacts
- name: Upload Artifacts
if: steps.tag.outputs.version
run: |
@@ -78,7 +76,6 @@ jobs:
"https://git.thewizardapprentice.com/api/v1/repos/${{ gitea.repository }}/releases/$RELEASE_ID/assets?name=$FILENAME"
done
# 6. Cleanup artifacts
- name: Cleanup
if: steps.tag.outputs.version
run: rm -rf dist/*