Skip to content

Commit

Permalink
Zip files before creating release
Browse files Browse the repository at this point in the history
  • Loading branch information
lazamar committed Dec 7, 2024
1 parent d56e977 commit 05bf713
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ jobs:
- name: Create package
shell: bash
run: |
mkdir package
mkdir haskell-docs-cli
binary=$(cabal list-bin hdc)
cp "${binary}" package/
cp -r README.md package/
cp "${binary}" haskell-docs-cli/
cp -r README.md haskell-docs-cli/
tar cvf haskell-docs-cli-${{ matrix.os }}.tar haskell-docs-cli
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
package/*
files: haskell-docs-cli-${{ matrix.os }}.tar

0 comments on commit 05bf713

Please sign in to comment.