This commit is contained in:
David Daly
2024-01-31 10:06:04 +00:00
committed by GitHub
parent 37fdf001e6
commit 45a150da44
+2 -2
View File
@@ -25,8 +25,8 @@ jobs:
- name: Wait for successful publish
id: wait-for-successful-publish
run: |
START_TIME=$SECONDS
TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
START_TIME="$SECONDS"
TIMESTAMP="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
while (( SECONDS - START_TIME < 60 )); do
echo "Polling for workflow created after $TIMESTAMP"
RESULT=$(curl -s -L -H "Accept: application/vnd.github+json" \