Skip to content

Commit

Permalink
‘cabal sdist’ needs ‘cabal update’
Browse files Browse the repository at this point in the history
  • Loading branch information
sergv committed Dec 13, 2024
1 parent 14ba95b commit 53dca2f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/haskell-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,18 @@ jobs:
ghcup install ghc --set ${{ matrix.ghc }}
ghcup install cabal latest
# This version must stay old enough to remain compatible with the container image.
- uses: actions/checkout@v1

- name: Cabal version
- name: Cabal update
run: |
source ~/.ghcup/env
cabal --version
- name: Unpack
run: |
source ~/.ghcup/env
cabal update
cabal sdist --ignore-project --output-directory ..
cd ..
Expand All @@ -127,7 +129,6 @@ jobs:
- name: Build
run: |
source ~/.ghcup/env
cabal update
project_file="$(pwd)/cabal.project.test"
cd ../vector-quicksort-*/
Expand Down

0 comments on commit 53dca2f

Please sign in to comment.