Skip to content

Commit de73498

Browse files
committed
CI stack: cabal sdist source is the right command
1 parent 180ce65 commit de73498

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/stack.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,8 @@ jobs:
114114
startsWith(github.ref, 'refs/tags/v')
115115
&& matrix.ghc == '9.0.1'
116116
run: |
117-
cabal sdist
118-
export DIST_TGZ=$(cabal sdist | tail -1)
117+
export DIST_TGZ=$(cabal sdist source | tail -1)
119118
echo "DIST_TGZ=${DIST_TGZ}" >> ${GITHUB_ENV}
120-
# Note: we do sdist twice because the first time it might print stuff like
121-
# "Writing default configuration to /home/runner/.cabal/config"
122-
# that spoils our `tail -1` hack.
123119
124120
- name: Source tarball release.
125121
if: >-

0 commit comments

Comments
 (0)