From cfd02f9c2e46bdcd329787becc834322d33d203e Mon Sep 17 00:00:00 2001 From: Chris Frohoff Date: Sat, 25 Jun 2022 04:05:21 +0000 Subject: [PATCH] add token env var --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d920160..cc48d84 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,6 +26,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish GitHub release uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref_name }} files: target/ysoserial-${{ github.ref_name }}-SNAPSHOT-all.jar \ No newline at end of file