fix(ci): skip git fetch and tag logic in act (no remote access in local containers)

This commit is contained in:
jubnl
2026-05-25 21:12:29 +02:00
parent f92b95e054
commit 67cf290cda
2 changed files with 13 additions and 0 deletions
+6
View File
@@ -45,6 +45,12 @@ jobs:
- name: Determine bump type and update version
id: bump
run: |
# When running locally with act, skip tag logic and use a dummy version.
if [ -n "$ACT" ]; then
echo "VERSION=0.0.0-act" >> $GITHUB_OUTPUT
exit 0
fi
git fetch --tags
# Derive version from git tags — no package.json dependency