File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 deploy :
14- if : github.repository_owner == 'zigtools' && github.ref == 'refs/heads/master'
14+ if : github.repository_owner == 'zigtools'
1515 runs-on : ubuntu-22.04
1616 timeout-minutes : 30
1717 steps :
2020 fetch-depth : 0 # required to resolve the version string
2121
2222 - name : Skip if no new commits
23+ if : github.event_name == 'schedule'
2324 run : |
2425 LAST_SUCCESS_COMMIT=$(curl -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: Bearer $GH_TOKEN" "https://api.github.com/repos/zigtools/zls/actions/workflows/artifacts.yml/runs?branch=master&status=success&per_page=1" | jq --raw-output ".workflow_runs[0].head_sha")
2526 CURRENT_COMMIT=$(git rev-parse HEAD)
You can’t perform that action at this time.
0 commit comments