Skip to content

Commit 98d73fb

Browse files
bugfix: use stack-action for caching and setting up haskell toolchain (#46)
Signed-off-by: Tsung-Ju Lii <[email protected]>
1 parent 1022c1c commit 98d73fb

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/deploy.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ jobs:
1414
environment: deployment
1515
steps:
1616
- uses: actions/checkout@v4
17-
18-
- uses: haskell-actions/[email protected]
1917
with:
20-
ghc-version: 9.8.4
21-
enable-stack: true
22-
stack-setup-ghc: true
23-
24-
- run: |
25-
stack build
26-
stack exec site build
18+
fetch-depth: 2
19+
20+
- id: stack
21+
uses: freckle/stack-action@v5
22+
23+
- run: stack exec site build
2724

2825
- run: |
2926
if [[ $(git status --porcelain docs/) ]]; then

0 commit comments

Comments
 (0)