diff --git a/.github/workflows/publish-chrome.yml b/.github/workflows/publish-chrome.yml index 3a2805d353..04d3bc154b 100644 --- a/.github/workflows/publish-chrome.yml +++ b/.github/workflows/publish-chrome.yml @@ -1,7 +1,5 @@ name: publish-chrome on: - release: - types: [released] workflow_dispatch: inputs: attemptNumber: diff --git a/.github/workflows/publish-firefox.yml b/.github/workflows/publish-firefox.yml index 272593c1b6..424ae8c1e8 100644 --- a/.github/workflows/publish-firefox.yml +++ b/.github/workflows/publish-firefox.yml @@ -1,7 +1,6 @@ name: publish-firefox on: - release: - types: [released] + workflow_dispatch: permissions: contents: read jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..b700e2c459 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: release +on: + release: + types: [released] +permissions: {} +jobs: + build: + runs-on: ubuntu-latest + permissions: + actions: write + contents: write + steps: + - name: Dispatch publish-chrome + uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2 + with: + workflow: publish-chrome + token: ${{ secrets.GITHUB_TOKEN }} + wait-for-completion: false + + - name: Dispatch publish-firefox + uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2 + with: + workflow: publish-firefox + token: ${{ secrets.GITHUB_TOKEN }} + wait-for-completion: false