Skip to content

Commit 035b729

Browse files
committed
fixup! fixup! fixup! fixup! fixup! [ci] Better caching via a new cache key in publish-ghpages
1 parent 20675ef commit 035b729

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish-ghpages.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: cache sbt packages
2323
# but with a different name than setup-java would use,
2424
# since webStage will pull some artifacts that the other tasks will not
25-
# and caches are immutable, apparently, rather than updatable
25+
# and caches are immutable, apparently, rather than whatever the most recent cache use had
2626
uses: actions/cache@v4
2727
with:
2828
path: |
@@ -31,9 +31,11 @@ jobs:
3131
~/.cache/coursier
3232
!~/.sbt/*.lock
3333
!~/**/ivydata-*.properties
34-
key: sbt-site-3-${{ hashFiles('**/*.sbt','**/project/build.properties','**/project/**.scala','**/project/**.sbt') }}
34+
key: sbt-site-${{ hashFiles('**/*.sbt','**/project/build.properties','**/project/**.scala','**/project/**.sbt') }}
3535
restore-keys: |
36-
sbt-site-3-
36+
sbt-site-
37+
setup-java-Linux-sbt-${{ hashFiles('**/*.sbt','**/project/build.properties','**/project/**.scala','**/project/**.sbt') }}
38+
setup-java-Linux-sbt-
3739
- uses: actions/setup-java@v4
3840
with:
3941
distribution: 'zulu'

0 commit comments

Comments
 (0)