Update create-testing-snapshot.yaml
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 30s

This commit is contained in:
hizumi
2024-02-15 16:58:17 -06:00
parent d4c01c6554
commit 1bdbdd1273

View File

@@ -59,7 +59,7 @@ jobs:
"accept" = "application/json" "accept" = "application/json"
"Authorization" = "token ${{secrets.RELEASE_TOKEN}}" "Authorization" = "token ${{secrets.RELEASE_TOKEN}}"
} }
Invoke-WebRequest -Uri "${{ gitea.api_url }}/repos/${{ gitea.repository }}/tags" -Method Post -Headers $headers -ContentType "application/json" -Body "{'tag_name': 'testing-release', 'target': '${{ gitea.sha }}'}" Invoke-WebRequest -Uri "${{ gitea.api_url }}/repos/${{ gitea.repository }}/tags" -Method Post -Headers $headers -ContentType "application/json" -Body "{`"message`": `"testing-release`", `"tag_name`": `"testing-release`", `"target`": `"${{ gitea.sha }}`"}"
- name: Create new testing-release - name: Create new testing-release
uses: https://gitea.com/actions/gitea-release-action@v1.1.6 uses: https://gitea.com/actions/gitea-release-action@v1.1.6