Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ jobs:
uses: ./.github/workflows/publish-firefox-extension.yml
with:
runner: ${{ inputs.runner }}
artifact_path: ${{ inputs.artifact_path }}
addon_guid: ${{ inputs.addon_guid }}
xpi_path: ${{ inputs.xpi_path }}
secrets:
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/publish-firefox-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ on:
default: "ubuntu-latest"
required: false
type: string
artifact_path:
description: "path to artifact files to save from build step"
default: ""
required: false
type: string
addon_guid:
description: "firefox addon guid"
default: ""
Expand All @@ -49,26 +44,11 @@ jobs:
steps:
- uses: actions/checkout@v6

- name: check build artifact existence
uses: softwareforgood/check-artifact-v4-existence@v0
id: check_artifact_exists
with:
name: build

- name: download build artifact
if: ${{ inputs.artifact_path != '' && steps.check_artifact_exists.outputs.exists == 'true' }}
uses: actions/download-artifact@v8
with:
name: build
path: ${{ inputs.artifact_path }}

- name: package firefox extension
if: ${{ steps.check_artifact_exists.outputs.exists == 'true' }}
run: zip -r ${{ inputs.xpi_path }} * -x .git\* -x .github\*
shell: bash

- name: publish firefox extension
if: ${{ steps.check_artifact_exists.outputs.exists == 'true' }}
uses: wdzeng/firefox-addon@v1.2.0
with:
addon-guid: ${{ inputs.addon_guid }}
Expand Down
Loading