From 932e9417bed285d797c107aa0356931a94e15761 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Tue, 25 Aug 2020 11:15:17 +0200 Subject: [PATCH] get-release action need GITHUB_TOKEN --- .github/workflows/release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f92899ac..aed7d456 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,6 +4,9 @@ on: release: types: [created] +env: + GITHUB_TOKEN: "${{ github.token }}" + jobs: release: name: "Release" @@ -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"