Skip to content

Commit

Permalink
get-release action need GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed Aug 25, 2020
1 parent c24000a commit 932e941
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
release:
types: [created]

env:
GITHUB_TOKEN: "${{ github.token }}"

jobs:
release:
name: "Release"
Expand Down Expand Up @@ -64,8 +67,6 @@ jobs:
- name: "Upload paratest.phar"
if: "always()"
uses: "actions/upload-release-asset@v1"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
asset_content_type: "text/plain"
asset_name: "paratest.phar"
Expand Down

0 comments on commit 932e941

Please sign in to comment.