From 9f4fab96176be29d50d0bf62aa30a961405d5241 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 16 Jun 2021 07:04:12 +1000 Subject: [PATCH 1/2] Fixes for releases --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 630a4e8252..a60549185e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,7 +76,7 @@ jobs: id: upload-release-asset uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{secrets.PAT}} with: upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps asset_path: ./invoiceninja.zip From c7d5390b492ec6d1039a7cec1020525afaecbefe Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 16 Jun 2021 07:09:04 +1000 Subject: [PATCH 2/2] Fixes for releases --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a60549185e..047437105f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT }} with: tag_name: ${{ steps.get_tag_name.outputs.VERSION }} release_name: Release ${{ steps.get_tag_name.outputs.VERSION }}