From 2abcfccdddf5aad30bb4f04cf731633a4bb762d3 Mon Sep 17 00:00:00 2001 From: Ben Adrian Sarmiento Date: Wed, 19 Jun 2024 10:50:27 +0200 Subject: [PATCH] Test for 9am --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b52b9e6..30d3221 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: tags: - '*' schedule: - - cron: '0 2 * * *' + - cron: '0 9 * * *' jobs: build: @@ -38,7 +38,7 @@ jobs: continue-on-error: false run: | # 3AM CET - since="$(date -d 'yesterday' +%Y-%m-%d) 02:00:00" + since="$(date -d 'yesterday' +%Y-%m-%d) 09:00:00" count=$(git rev-list --count --since="$since" --until=now HEAD) if [ "$count" -gt 0 ]; then echo "new_commits=true" >> $GITHUB_OUTPUT @@ -137,7 +137,7 @@ jobs: script: | const ownerName = 'debridmediamanager'; const tagName = '${{ steps.version.outputs.version }}'; - const repoName = `zurg${{ !contains(tagName, '-rc.') && !contains(tagName, '-nightly') && '-testing' || '' }}`; + const repoName = `zurg${tagName.includes('-rc') || tagName.includes('-nightly') ? '' : '-testing'}`; const releaseName = `${tagName}`; let lastReleaseTime;