Skip to content

Commit

Permalink
Fix stack caching in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JakuJ committed Sep 7, 2021
1 parent ffa21f0 commit aac427b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Install RSLTC
run: |
sudo dpkg --add-architecture i386
Expand All @@ -21,6 +21,13 @@ jobs:
sudo dpkg -i CI/rsltc_2.6.1-1_i386.deb
rsltc -v
- uses: haskell/actions/setup@v1
name: Setup Haskell Stack
with:
ghc-version: 8.10.5
enable-stack: true
stack-version: 'latest'

- uses: actions/[email protected]
name: Cache ~/.stack
with:
Expand All @@ -42,8 +49,8 @@ jobs:
- name: Prepare binary
run: |
zip -j ~/linux.zip "$(stack path --system-ghc --local-install-root)/bin/rsl-language-server"
- uses: actions/upload-artifact@v2
with:
name: linux.zip
path: ~/linux.zip
path: ~/linux.zip

0 comments on commit aac427b

Please sign in to comment.