Skip to content

Commit

Permalink
CI stack: cabal sdist source is the right command
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Sep 22, 2021
1 parent 180ce65 commit de73498
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,8 @@ jobs:
startsWith(github.ref, 'refs/tags/v')
&& matrix.ghc == '9.0.1'
run: |
cabal sdist
export DIST_TGZ=$(cabal sdist | tail -1)
export DIST_TGZ=$(cabal sdist source | tail -1)
echo "DIST_TGZ=${DIST_TGZ}" >> ${GITHUB_ENV}
# Note: we do sdist twice because the first time it might print stuff like
# "Writing default configuration to /home/runner/.cabal/config"
# that spoils our `tail -1` hack.
- name: Source tarball release.
if: >-
Expand Down

0 comments on commit de73498

Please sign in to comment.