mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-23 20:11:49 +00:00
move nightly test start time
This commit is contained in:
1 parent
bc17f1667b
commit
2838c85342
2 files changed
+2
-2
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
name: Full build
|
name: Full build
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 22 * * *' # run at 10 PM UTC
|
- cron: '17 22 * * *' # run at 10:17 PM UTC
|
||||||
# Allow manual runs
|
# Allow manual runs
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ jobs:
|
|||||||
- env:
|
- env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
min=$(date -u -d '4 hours ago' +%s)
|
min=$(date -u -d '5 hours ago' +%s)
|
||||||
max=$(date -u -d '2 hours ago' +%s)
|
max=$(date -u -d '2 hours ago' +%s)
|
||||||
gh api --paginate "/repos/$GITHUB_REPOSITORY/actions/workflows/nightly.yml/runs?status=failure&per_page=100" --jq '.workflow_runs[] | select(.run_attempt == 1) | [.id, .updated_at] | @tsv' |
|
gh api --paginate "/repos/$GITHUB_REPOSITORY/actions/workflows/nightly.yml/runs?status=failure&per_page=100" --jq '.workflow_runs[] | select(.run_attempt == 1) | [.id, .updated_at] | @tsv' |
|
||||||
while IFS=$'\t' read -r id updated; do
|
while IFS=$'\t' read -r id updated; do
|
||||||
|
|||||||
Reference in new issue
Block a user