Test for 9am
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user