diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8bd940c..274a77c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,8 +28,6 @@ jobs: contents: write steps: - - env: - GH_TOKEN: ${{ secrets.PUSH_TOKEN }} - uses: actions/checkout@v4 - name: Set up JDK 17 uses: actions/setup-java@v4 @@ -46,9 +44,10 @@ jobs: run: | git config user.name github-actions[bot] git config user.email github-actions[bot]@users.noreply.github.com - git config -l - name: Build with Gradle Wrapper + env: + GH_TOKEN: ${{ secrets.PUSH_TOKEN }} run: | ./gradlew_release ${{ inputs.releaseType }}