From ee9da954e90b0c21ae8a7c800e654470252bd777 Mon Sep 17 00:00:00 2001 From: kuuuube Date: Wed, 25 Dec 2024 12:16:39 -0500 Subject: [PATCH] Add upload_url to publish-chrome-development action --- .github/workflows/create-prerelease-on-tag.yml | 1 + .github/workflows/publish-chrome-development.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/create-prerelease-on-tag.yml b/.github/workflows/create-prerelease-on-tag.yml index 369750f03..0545f1806 100644 --- a/.github/workflows/create-prerelease-on-tag.yml +++ b/.github/workflows/create-prerelease-on-tag.yml @@ -52,6 +52,7 @@ jobs: workflow: publish-chrome-development token: ${{ secrets.GITHUB_TOKEN }} wait-for-completion: false + inputs: '{ "upload_url": "${{ steps.release.outputs.upload_url }}" }' - name: Dispatch publish-firefox-development uses: aurelien-baudet/workflow-dispatch@3133c5d135c7dbe4be4f9793872b6ef331b53bc7 # pin@v2 diff --git a/.github/workflows/publish-chrome-development.yml b/.github/workflows/publish-chrome-development.yml index 73d498140..8c3d91518 100644 --- a/.github/workflows/publish-chrome-development.yml +++ b/.github/workflows/publish-chrome-development.yml @@ -10,6 +10,9 @@ on: description: "Max attempts" required: false default: "10" + upload_url: + description: "The upload_url from the release created by create-prerelease-on-tag.yml" + required: true permissions: contents: read jobs: