@@ -36,9 +36,8 @@ jobs:
|
||||
SERVER_URL: ${{ gitea.server_url }}
|
||||
REPOSITORY_OWNER: ${{ gitea.repository_owner }}
|
||||
VERSION: ${{ gitea.ref_name }}
|
||||
ACTOR: ${{ gitea.actor }}
|
||||
run: |
|
||||
curl --fail-with-body \
|
||||
--user "${ACTOR}:${GITEA_TOKEN}" \
|
||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||
--upload-file dist/samba-configer \
|
||||
"${SERVER_URL}/api/packages/${REPOSITORY_OWNER}/generic/samba-configer/${VERSION}/samba-configer-linux-amd64"
|
||||
|
||||
Reference in New Issue
Block a user