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:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2 * * *'
|
- cron: '0 9 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
run: |
|
run: |
|
||||||
# 3AM CET
|
# 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)
|
count=$(git rev-list --count --since="$since" --until=now HEAD)
|
||||||
if [ "$count" -gt 0 ]; then
|
if [ "$count" -gt 0 ]; then
|
||||||
echo "new_commits=true" >> $GITHUB_OUTPUT
|
echo "new_commits=true" >> $GITHUB_OUTPUT
|
||||||
@@ -137,7 +137,7 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
const ownerName = 'debridmediamanager';
|
const ownerName = 'debridmediamanager';
|
||||||
const tagName = '${{ steps.version.outputs.version }}';
|
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}`;
|
const releaseName = `${tagName}`;
|
||||||
|
|
||||||
let lastReleaseTime;
|
let lastReleaseTime;
|
||||||
|
|||||||
Reference in New Issue
Block a user