Skip to content

Commit

Permalink
Don't build using async.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Dec 21, 2024
1 parent 03d12d4 commit 73ef292
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
File renamed without changes.
9 changes: 4 additions & 5 deletions .github/workflows/publish_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@ name: Publish All Platforms

on:
workflow_dispatch:
pull_request:
types: [closed]
release:
types: [published]

jobs:
build-todesktop:
if: |
github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'Release'))
github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- name: Github checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build/windows/todesktop
uses: ./.github/actions/build/todesktop
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
TODESKTOP_ACCESS_TOKEN: ${{secrets.TODESKTOP_ACCESS_TOKEN}}
Expand Down

0 comments on commit 73ef292

Please sign in to comment.