@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user