Skip to content

Commit e3c2c36

Browse files
committed
‘cabal sdist’ needs ‘cabal update’
1 parent da52d2b commit e3c2c36

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/haskell-ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,18 @@ jobs:
109109
ghcup install ghc --set ${{ matrix.ghc }}
110110
ghcup install cabal latest
111111
112+
# This version must stay old enough to remain compatible with the container image.
112113
- uses: actions/checkout@v1
113114

114-
- name: Cabal version
115+
- name: Cabal update
115116
run: |
116117
source ~/.ghcup/env
117118
cabal --version
118119
119120
- name: Unpack
120121
run: |
121122
source ~/.ghcup/env
123+
cabal update
122124
123125
cabal sdist --ignore-project --output-directory ..
124126
cd ..
@@ -127,7 +129,6 @@ jobs:
127129
- name: Build
128130
run: |
129131
source ~/.ghcup/env
130-
cabal update
131132
132133
project_file="$(pwd)/cabal.project.test"
133134
cd ../vector-quicksort-*/

0 commit comments

Comments
 (0)