summaryrefslogtreecommitdiff
path: root/.github/workflows/publish-firefox-development.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/publish-firefox-development.yml')
-rw-r--r--.github/workflows/publish-firefox-development.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/publish-firefox-development.yml b/.github/workflows/publish-firefox-development.yml
index 6ce61dc5..6a4e6ce8 100644
--- a/.github/workflows/publish-firefox-development.yml
+++ b/.github/workflows/publish-firefox-development.yml
@@ -5,6 +5,10 @@
name: publish-firefox-development
on:
workflow_dispatch:
+ inputs:
+ upload_url:
+ description: "The upload_url from the release created by create-prerelease-on-tag.yml"
+ required: true
permissions:
contents: read
jobs:
@@ -14,7 +18,7 @@ jobs:
permissions:
contents: write
steps:
- - uses: robinraju/release-downloader@768b85c8d69164800db5fc00337ab917daf3ce68 # pin@v1.7
+ - uses: robinraju/release-downloader@efa4cd07bd0195e6cc65e9e30c251b49ce4d3e51 # pin@v1.8
with:
tag: ${{ github.ref_name }}
fileName: "*"
@@ -44,7 +48,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- upload_url: ${{ github.event.release.upload_url }}
+ upload_url: ${{ inputs.upload_url }}
asset_path: yomitan-firefox.xpi
asset_name: yomitan-firefox.xpi
asset_content_type: application/x-xpinstall