Update create-testing-snapshot.yaml
Some checks failed
Generate testing snapshot / Create testing release (push) Failing after 28s
Some checks failed
Generate testing snapshot / Create testing release (push) Failing after 28s
This commit is contained in:
@@ -53,6 +53,14 @@ jobs:
|
||||
}
|
||||
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
|
||||
uses: https://gitea.com/actions/gitea-release-action@v1.1.6
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user