File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 13
13
14
14
steps :
15
15
- name : Use cached git repo
16
- # Try to use a cached copy of the repository to avoid cloning it again
17
- # and then regenerating the meta-data/dates file from scratch (slow!)
16
+ # Try to use a cached copy of the repository to avoid cloning it again,
17
+ # as cloning the full history (needed for timestamps) takes two minutes.
18
18
id : cache-repo
19
19
uses : actions/cache@v4
20
20
with :
@@ -50,10 +50,15 @@ jobs:
50
50
- name : Update issue timestamps
51
51
run : make dates
52
52
53
+ - name : Build programs
54
+ run : make pgms -j 4
55
+
53
56
- name : Generate HTML lists
54
57
run : make lists
55
58
56
- # We need a fresh repo that has valid credentials to push to gh-pages.
59
+ # The cached repo might have a stale API token that can't push changes.
60
+ # Clone a fresh repo that has valid credentials to push to gh-pages.
61
+ # The default fetch-depth:1 is OK for this step.
57
62
- name : Clone repo again in order to push
58
63
uses : actions/checkout@v4
59
64
with :
74
79
# This only compares the staged changes, so ignores new timestamps
75
80
# in the lwg-*.html files. The commit -a will pick those up though.
76
81
printf '\nChecking HTML issues for changes ...\n'
77
- if git diff --cached --exit-code ; then
82
+ if git diff --cached --exit-code --name-status ; then
78
83
echo 'No changes, not publishing new lists.'
79
84
else
80
85
printf '\nCommitting the changes above:\n'
You can’t perform that action at this time.
0 commit comments