Skip to content

Commit

Permalink
Wrap which_upstream logic in expression syntax (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca authored Oct 18, 2022
1 parent 8015d57 commit c19ea06
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/test-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ defaults:
shell: bash -l {0}

env:
which_upsteam: |
github.event_name == 'workflow_dispatch'
&& inputs.which_upstream
|| (
github.event.schedule == '0 0 * * *'
&& 'Dask'
|| 'DataFusion'
)
which_upsteam: >-
${{
github.event_name == 'workflow_dispatch'
&& inputs.which_upstream
|| (
github.event.schedule == '0 0 * * *'
&& 'Dask'
|| 'DataFusion'
)
}}
jobs:
test-dev:
Expand Down

0 comments on commit c19ea06

Please sign in to comment.