From 8db5995daf5f17e007edede49080310efc8874ba Mon Sep 17 00:00:00 2001 From: Dipika Sikka Date: Tue, 28 May 2024 17:56:55 +0000 Subject: [PATCH] update condition --- .github/workflows/build-wheel-and-container.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-wheel-and-container.yml b/.github/workflows/build-wheel-and-container.yml index 630be1bde84..9e36ca24105 100644 --- a/.github/workflows/build-wheel-and-container.yml +++ b/.github/workflows/build-wheel-and-container.yml @@ -6,7 +6,7 @@ on: - main push: branches: - - '*' + - main schedule: - cron: '0 0 * * *' @@ -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