main #33

Merged
hizumi merged 17 commits from main into develop 2024-02-22 23:16:25 -06:00
Showing only changes of commit 68f35a9b44 - Show all commits

View File

@@ -8,6 +8,14 @@ jobs:
name: Create testing release
runs-on: windows
steps:
- name: Diagnostics
run: |
echo "repository: ${{ gitea.repository }}"
echo "ref: ${{ gitea.ref }}"
echo "ref_name: ${{ gitea.ref_name }}"
echo "api_url: ${{ gitea.api_url }}"
echo "workflow: ${{ gitea.workflow }}"
- name: Checkout framework
uses: actions/checkout@v3
with:
@@ -34,7 +42,7 @@ jobs:
"accept" = "application/json"
"Authorization" = "token ${{secrets.RELEASE_TOKEN}}"
}
Invoke-WebRequest -Uri "https://gitea.iceberg-gaming.com/api/v1/repos/hizumi/MissionTemplate/releases/tags/testing-release" -Method Delete -Headers $headers
Invoke-WebRequest -Uri "${{ gitea.api_url }}/repos/${{ gitea.repository }}/releases/tags/testing-release" -Method Delete -Headers $headers
- name: Delete old testing-release tag
run: |
@@ -42,7 +50,7 @@ jobs:
"accept" = "application/json"
"Authorization" = "token ${{secrets.RELEASE_TOKEN}}"
}
Invoke-WebRequest -Uri "https://gitea.iceberg-gaming.com/api/v1/repos/hizumi/MissionTemplate/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
uses: https://gitea.com/actions/gitea-release-action@v1.1.6