Skip to content

Commit

Permalink
Use PAT_TOKEN for release
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Apr 1, 2020
1 parent 537fb1f commit 6069a42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
run: |
make deploy
Expand All @@ -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 }}
Expand All @@ -50,7 +50,7 @@ jobs:
id: upload-release-asset
uses: actions/[email protected]
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
Expand Down

0 comments on commit 6069a42

Please sign in to comment.