File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 24
24
env :
25
25
cache-name : cache-stack
26
26
with :
27
- path : ~/.stack
27
+ path : |
28
+ ~/.stack
29
+ .stack-work
28
30
key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.stack') }}
29
31
restore-keys : |
30
32
${{ runner.os }}-build-${{ env.cache-name }}-
49
51
# a different one at the end of its run, and *that* is where the
50
52
# documentation is.
51
53
run : |
52
- stack haddock --fast --no-haddock-deps
53
- echo "haddock_files=$(stack path --local-install -root)/doc /" >> "$GITHUB_ENV"
54
- echo "stack path --local-install -root: $(stack path --local-install -root)"
54
+ stack haddock --fast
55
+ echo "haddock_files=$(stack path --local-doc -root)/" >> "$GITHUB_ENV"
56
+ echo "stack path --local-doc -root: $(stack path --local-doc -root)"
55
57
56
58
- name : " Haddock: package"
57
59
uses : actions/upload-pages-artifact@v1 # This will automatically upload an artifact from the '/_site' directory
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ default-extensions:
51
51
- RecordWildCards
52
52
53
53
extra-doc-files :
54
- - docs/bezier/**/*.svg
55
54
- docs/billard/**/*.svg
56
55
- docs/colors/schemes/continuous/**/*.png
57
56
- docs/colors/schemes/discrete/**/*.svg
@@ -65,7 +64,6 @@ extra-doc-files:
65
64
- docs/penrose/**/*.svg
66
65
- docs/physics/**/*.svg
67
66
- docs/plotting/**/*.svg
68
- - docs/sampling/**/*.svg
69
67
- docs/triangulation/**/*.svg
70
68
71
69
ghc-options :
You can’t perform that action at this time.
0 commit comments