From 14ee2bca3a280f24c49b4ef42c7e068878735346 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 2 Jan 2025 17:58:22 +0000 Subject: [PATCH] fix(ci): directly call API to create release fix 2 --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 04f2f8b..6a28983 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -135,7 +135,7 @@ jobs: - name: Create release run: | curl -X POST \ - -u "${{ vars.PACKAGES_REGISTRY_USERNAME }}:${{ vars.PACKAGES_REGISTRY_PASSWORD }}" \ + -H "Authorization: token ${{ secrets.ACTIONS_TOKEN }}" \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -d "{\"tag_name\": \"${{ steps.get_next_version.outputs.tag }}\", \"name\": \"${{ steps.get_next_version.outputs.tag }}\", \"body\": \"${{ steps.get_next_version.outputs.changelog }}\"}" \