Skip to content

Commit

Permalink
Only keep first of the month nightlies
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
psavery committed Apr 11, 2023
1 parent eba23f5 commit c25d617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand Down

0 comments on commit c25d617

Please sign in to comment.