Update create-testing-snapshot.yaml
Some checks failed
Generate testing snapshot / Create testing release (push) Failing after 28s

This commit is contained in:
hizumi
2024-02-15 16:51:06 -06:00
parent 2866153654
commit d4c01c6554

View File

@@ -53,6 +53,14 @@ jobs:
} }
Invoke-WebRequest -Uri "${{ gitea.api_url }}/repos/${{ gitea.repository }}/tags/testing-release" -Method Delete -Headers $headers Invoke-WebRequest -Uri "${{ gitea.api_url }}/repos/${{ gitea.repository }}/tags/testing-release" -Method Delete -Headers $headers
- name: Create new testing-release tag
run: |
$headers = @{
"accept" = "application/json"
"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 }}'}"
- 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
with: with: