Skip to content

Commit

Permalink
update condition
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikka committed May 28, 2024
1 parent 0072b06 commit 8db5995
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-wheel-and-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
push:
branches:
- '*'
- main
schedule:
- cron: '0 0 * * *'

Expand All @@ -22,10 +22,8 @@ concurrency:
# TODO: do we want to push to nightly everytime we push to main?
# if not dev or release, will create a nightly build; turning off release for not
env:
PRODUCTION: ${{ github.event_name == 'schedule' || github.event_name == 'release'}}
RELEASE: 'false'
#DEV: ${{ github.base_ref == 'main' && github.event_name == 'pull_request'}}
DEV: 'true'
DEV: ${{ github.base_ref == 'main' && github.event_name == 'pull_request'}}
jobs:
set-outputs:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8db5995

Please sign in to comment.