aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/publish-firefox-development.yml
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-04-07 18:59:43 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-04-07 18:59:43 +0900
commitf776fa8cae201f960d83af3781a34a85857b6aae (patch)
tree0d72b9d304af84a5e461b0e63a23900d642dd861 /.github/workflows/publish-firefox-development.yml
parente8c62d65aab6a37ab988b135dead0f580ca0eb0b (diff)
fix publish-firefox-development's upload_url for xpi
Diffstat (limited to '.github/workflows/publish-firefox-development.yml')
-rw-r--r--.github/workflows/publish-firefox-development.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/publish-firefox-development.yml b/.github/workflows/publish-firefox-development.yml
index 6ce61dc5..2877a692 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:
@@ -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