We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 182d4a8 commit e655ed8Copy full SHA for e655ed8
1 file changed
.github/workflows/build.yml
@@ -18,8 +18,10 @@ jobs:
18
id: check
19
run: |
20
if (( $(date +%s) < $(( $(date -d "$(gh cache list -R AngelAuraMC/angle --json createdAt -q '.[0].createdAt')" +%s) + 604800 )) )); then
21
+ echo "Cache is new enough"
22
echo "should-build=true" >> "$GITHUB_OUTPUT"
23
else
24
+ echo "Cache needs updating"
25
echo "should-build=false" >> "$GITHUB_OUTPUT"
26
fi
27
0 commit comments