From e767c04db73738ff3f5e2c5687d7eaf226e4d4ee Mon Sep 17 00:00:00 2001 From: conanoc Date: Thu, 22 Feb 2024 13:37:56 +0900 Subject: [PATCH] Try to fix build in release workflow (#21) Signed-off-by: conanoc --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95f00bc..33f50f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,8 @@ on: jobs: build: runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 @@ -21,13 +23,10 @@ jobs: - name: Publish run: ./gradlew publishAllPublicationsToGithubRepository env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VERSION: ${{ github.ref }} - name: Create Release id: create_release uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: draft: true prerelease: false