From c25d617189707dabbd8941d77b0886449fd613bc Mon Sep 17 00:00:00 2001 From: Patrick Avery Date: Tue, 11 Apr 2023 05:35:57 -0500 Subject: [PATCH] Only keep first of the month nightlies We were previously keeping nightlies for every day of the month. This is resulting in too many releases! Only keep the first of the month. Signed-off-by: Patrick Avery --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f93d6e..b0e9f86 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -217,8 +217,8 @@ jobs: if: github.event.schedule == '0 0 * * *' && github.repository == 'openchemistry/tomviz-superbuild' run: bash tomviz-superbuild/.github/scripts/create_nightly_date.sh - - name: Upload nightly - if: github.event.schedule == '0 0 * * *' && github.repository == 'openchemistry/tomviz-superbuild' + - name: Upload nightly (first of the month) + if: github.event.schedule == '0 0 1 * *' && github.repository == 'openchemistry/tomviz-superbuild' # Fix version until this is fixed: https://github.com/softprops/action-gh-release/issues/280 uses: softprops/action-gh-release@v0.1.13 with: