From ee43868a32ae4857c04798e8c9aa36806dd8e61b Mon Sep 17 00:00:00 2001 From: hizumi <> Date: Sat, 2 Mar 2024 00:48:47 -0600 Subject: [PATCH] Update on-release.yaml --- .gitea/workflows/on-release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/on-release.yaml b/.gitea/workflows/on-release.yaml index f032adb..e45b1dc 100644 --- a/.gitea/workflows/on-release.yaml +++ b/.gitea/workflows/on-release.yaml @@ -16,11 +16,12 @@ jobs: echo "sha: ${{ gitea.sha }}" echo "api_url: ${{ gitea.api_url }}" echo "workflow: ${{ gitea.workflow }}" + - name: Publish remote issue run: | $headers = @{ "accept" = "application/json" - "Authorization" = "token ${{ secrets.RUNNER_ISSUE_TOKEN }}" + "Authorization" = "token ${{ secrets.RUNNER_ISSUE_TOKEN }}" } $response = Invoke-RestMethod -Uri "${{ gitea.api_url }}/repos/17th-Ranger-Battalion-ORG/MissionsForZGM/issues" -Method Post -Headers $headers -ContentType "application/json" -Body "{`"title`": `"publish-release`"}" @@ -60,7 +61,7 @@ jobs: $revision = git rev-parse --short=10 HEAD $tag = git describe --abbrev=0 --tags cd ..\MissionTemplate - Compress-Archive MissionFramework mission-maker-template-v$tag-$revision.zip + Compress-Archive MissionTemplate mission-maker-template-v$tag-$revision.zip - name: Add archive to release uses: https://gitea.com/actions/gitea-release-action@v1.3.0