Skip to content

Commit

Permalink
Only send to Firefox on workflow_dispatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
zopieux committed Mar 24, 2024
1 parent 7fca96b commit 593bea0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build

on: push
on:
push:
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -29,11 +31,8 @@ jobs:
- name: Build firefox-debug
run: yarn run package:firefox-debug

- name: Build firefox-release-unlisted
run: yarn run package:firefox-release-unlisted

- name: Build firefox-release-listed
if: startsWith(github.event.ref, 'refs/tags/v')
if: github.event_name == 'workflow_dispatch'
run: yarn run package:firefox-release-listed

- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 593bea0

Please sign in to comment.