chore(workflow): notify releases package only after desktop finishes uploading

This commit is contained in:
Mo 2022-06-24 11:08:51 -05:00
parent e7e3872c06
commit e59b4ba8ec
No known key found for this signature in database
GPG Key ID: 034B13B1644297E1
2 changed files with 9 additions and 8 deletions

View File

@ -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: |

View File

@ -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
yarn publish:prod