From 95981a8f026cf3291895dfa78b8cd3688084f6f6 Mon Sep 17 00:00:00 2001 From: nishinji <107111782+nishinji@users.noreply.github.com> Date: Sat, 30 Nov 2024 13:47:47 +0900 Subject: [PATCH] Update ghr to 0.17.0 --- .github/workflows/update_compat_db.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_compat_db.yml b/.github/workflows/update_compat_db.yml index 00155f7..8299fc3 100644 --- a/.github/workflows/update_compat_db.yml +++ b/.github/workflows/update_compat_db.yml @@ -4,6 +4,10 @@ on: push: issues: +concurrency: + group: ci-${{ github.event_name }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'issues' }} + jobs: update_compat_db: runs-on: windows-latest @@ -93,7 +97,7 @@ jobs: - name: Upload compatibility database run: | - Invoke-WebRequest "https://github.com/tcnksm/ghr/releases/download/v0.16.2/ghr_v0.16.2_windows_amd64.zip" -OutFile ghr.zip + Invoke-WebRequest "https://github.com/tcnksm/ghr/releases/download/v0.17.0/ghr_v0.17.0_windows_amd64.zip" -OutFile ghr.zip Expand-Archive -Force -Path ghr.zip -DestinationPath '.' $releases = Invoke-RestMethod -Uri "https://api.github.com/repos/Vita3K/compatibility/releases" -Headers @{Authorization = "Bearer $env:GITHUB_TOKEN"} if ($releases -ne $null) { @@ -101,6 +105,6 @@ jobs: Invoke-RestMethod -Uri $release.url -Method DELETE -Headers @{Authorization = "Bearer $env:GITHUB_TOKEN"} } } - .\ghr_v0.16.2_windows_amd64\ghr -u Vita3K -r compatibility -n "Automatic CI generated database" -b "Corresponding issue: #${{ env.issue_id_updated }} for App: ${{ env.app_updated_title }}`r`nLast updated: ${{ env.db_updated_at }}`r`n" -t "${{ secrets.GITHUB_TOKEN }}" compat_db compat_dbs/ + .\ghr_v0.17.0_windows_amd64\ghr -u Vita3K -r compatibility -n "Automatic CI generated database" -b "Corresponding issue: #${{ env.issue_id_updated }} for App: ${{ env.app_updated_title }}`r`nLast updated: ${{ env.db_updated_at }}`r`n" -t "${{ secrets.GITHUB_TOKEN }}" compat_db compat_dbs/ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}