From e59b4ba8ec7c0d1912aa4e8fc87967903e4187b6 Mon Sep 17 00:00:00 2001 From: Mo Date: Fri, 24 Jun 2022 11:08:51 -0500 Subject: [PATCH] chore(workflow): notify releases package only after desktop finishes uploading --- .github/workflows/desktop.release.reuse.yml | 8 ++++++++ .github/workflows/publish.yml | 9 +-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/desktop.release.reuse.yml b/.github/workflows/desktop.release.reuse.yml index 3c4260c5f..202ab1db4 100644 --- a/.github/workflows/desktop.release.reuse.yml +++ b/.github/workflows/desktop.release.reuse.yml @@ -187,6 +187,14 @@ jobs: prerelease: true draft: false files: packages/desktop/dist/* + + - name: Notify Release Update + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.CI_PAT_TOKEN }} + repository: ${{ secrets.RELEASES_EVENT_RECEIVING_REPO }} + event-type: releases-updated-event + - name: Publish Snap continue-on-error: true run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 47ebd235a..6c4aaac87 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,11 +41,4 @@ jobs: - name: Bump Prod Version run: | yarn release:prod - yarn publish:prod - - - name: Notify Release Update - uses: peter-evans/repository-dispatch@v2 - with: - token: ${{ secrets.CI_PAT_TOKEN }} - repository: ${{ secrets.RELEASES_EVENT_RECEIVING_REPO }} - event-type: releases-updated-event \ No newline at end of file + yarn publish:prod \ No newline at end of file