From 789eb5ea52bf61600e3bd0e64885f7bde17ecfa0 Mon Sep 17 00:00:00 2001 From: sjquant Date: Mon, 11 Mar 2024 22:27:45 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0801ea6..8dac722 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -32,7 +32,7 @@ jobs: VERSION="v$(poetry version -s)" echo "Current version: $VERSION" - LATEST_RELEASE=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + LATEST_RELEASE=$(curl -s -H "Authorization: token ${{ github.token }}" \ https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r '.tag_name') echo "Latest release version: $LATEST_RELEASE" @@ -47,7 +47,7 @@ jobs: - name: Create Release if: steps.version_check.outputs.version_changed == 'true' - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: tag_name: ${{ steps.version_check.outputs.new_version }} generate_release_notes: True