From 6069a42e1136f14624c6e7d97fbb8f9b699bfd49 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Thu, 2 Apr 2020 03:25:52 +0800 Subject: [PATCH] Use PAT_TOKEN for release --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd70221..86cf195 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Build env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} run: | make deploy @@ -32,7 +32,7 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} @@ -50,7 +50,7 @@ jobs: id: upload-release-asset uses: actions/upload-release-asset@v1.0.1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./target/barcode4j-${{ steps.get_version.outputs.VERSION }}-SNAPSHOT.jar