fix build auth
Build and Publish / build (push) Failing after 4m54s

This commit is contained in:
2026-03-21 17:43:28 +00:00
parent 2cab803d83
commit f53848aa8a
+1 -2
View File
@@ -36,9 +36,8 @@ jobs:
SERVER_URL: ${{ gitea.server_url }} SERVER_URL: ${{ gitea.server_url }}
REPOSITORY_OWNER: ${{ gitea.repository_owner }} REPOSITORY_OWNER: ${{ gitea.repository_owner }}
VERSION: ${{ gitea.ref_name }} VERSION: ${{ gitea.ref_name }}
ACTOR: ${{ gitea.actor }}
run: | run: |
curl --fail-with-body \ curl --fail-with-body \
--user "${ACTOR}:${GITEA_TOKEN}" \ -H "Authorization: token ${GITEA_TOKEN}" \
--upload-file dist/samba-configer \ --upload-file dist/samba-configer \
"${SERVER_URL}/api/packages/${REPOSITORY_OWNER}/generic/samba-configer/${VERSION}/samba-configer-linux-amd64" "${SERVER_URL}/api/packages/${REPOSITORY_OWNER}/generic/samba-configer/${VERSION}/samba-configer-linux-amd64"