Update create-testing-snapshot.yaml
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 31s
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 31s
correct api url
This commit is contained in:
@@ -34,7 +34,7 @@ jobs:
|
|||||||
"accept" = "application/json"
|
"accept" = "application/json"
|
||||||
"Authorization" = "token ${{secrets.RELEASE_TOKEN}}"
|
"Authorization" = "token ${{secrets.RELEASE_TOKEN}}"
|
||||||
}
|
}
|
||||||
Invoke-WebRequest -Uri "https://gitea.iceberg-gaming.com/hizumi/MissionTemplate/releases/tags/testing-release" -Method Delete -Headers $headers
|
Invoke-WebRequest -Uri "https://gitea.iceberg-gaming.com/api/v1/repos/hizumi/MissionTemplate/releases/tags/testing-release" -Method Delete -Headers $headers
|
||||||
|
|
||||||
- name: Delete old testing-release tag
|
- name: Delete old testing-release tag
|
||||||
run: |
|
run: |
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
"accept" = "application/json"
|
"accept" = "application/json"
|
||||||
"Authorization" = "token ${{secrets.RELEASE_TOKEN}}"
|
"Authorization" = "token ${{secrets.RELEASE_TOKEN}}"
|
||||||
}
|
}
|
||||||
Invoke-WebRequest -Uri "https://gitea.iceberg-gaming.com/hizumi/MissionTemplate/tags/testing-release" -Method Delete -Headers $headers
|
Invoke-WebRequest -Uri "https://gitea.iceberg-gaming.com/api/v1/repos/hizumi/MissionTemplate/tags/testing-release" -Method Delete -Headers $headers
|
||||||
|
|
||||||
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user