Skip to content

Commit

Permalink
[CI] Minor GHA code clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
lierdakil committed Jan 18, 2025
1 parent 0bd6b0b commit 357b101
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,8 @@ jobs:
id: get_version
run: |
cd pandoc-crossref-${{runner.os}}-${{runner.arch}}/
case "${{runner.os}}-${{runner.arch}}" in
Windows)
VERSION="$(./pandoc-crossref.exe --version)"
;;
*) chmod +x pandoc-crossref
VERSION="$(./pandoc-crossref --version)"
;;
esac
chmod +x pandoc-crossref
VERSION="$(./pandoc-crossref --version)"
echo "$VERSION"
echo "$VERSION" > version.txt
- uses: actions/upload-artifact@v4
Expand All @@ -81,9 +75,9 @@ jobs:
path: pandoc-crossref-${{runner.os}}-${{runner.arch}}
- shell: bash
run: |
rm -rvf .cabal-store/ghc-${{matrix.ghcver}}/pandoc-crossref-*
rm -rvf .cabal-store/ghc-${{matrix.ghcver}}/pandoc-crossr_-*
rm -rvf .cabal-store/ghc-${{matrix.ghcver}}/pndc-crssrf-*
rm -rvf .cabal-store/ghc-${{matrix.ghcver}}/pandoc-crossref-* || true
rm -rvf .cabal-store/ghc-${{matrix.ghcver}}/pandoc-crossr_-* || true
rm -rvf .cabal-store/ghc-${{matrix.ghcver}}/pndc-crssrf-* || true
build-nix:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 357b101

Please sign in to comment.