add step to test auth
Build and Publish / build (push) Successful in 9m55s

This commit is contained in:
2026-03-24 19:59:58 +00:00
parent cd910c951c
commit 6304dabc02
+6
View File
@@ -29,6 +29,12 @@ jobs:
mkdir -p dist
go build -v -o dist/samba-configer .
- name: Check upload auth
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
test -n "$GITEA_TOKEN" || { echo "GITEA_TOKEN is empty"; exit 1; }
- name: Upload package
if: startsWith(gitea.ref, 'refs/tags/')
env: