Skip to content

Commit 3a02a1e

Browse files
authored
Update publish.yml
1 parent f99124e commit 3a02a1e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ jobs:
3737
- run: |
3838
cabal update
3939
cabal build --disable-tests --disable-benchmarks
40+
binary=markdown-unlit
41+
cat "$(cabal list-bin $binary)" | gzip > $binary.gz
4042
gh release create ${{ steps.autotag.outputs.name }} --prerelease || true
41-
gh release upload ${{ steps.autotag.outputs.name }} `cabal list-bin markdown-unlit` --clobber
43+
gh release upload ${{ steps.autotag.outputs.name }} $binary.gz --clobber
4244
env:
4345
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)