diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc5adee..1a17c46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,15 +166,8 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: confer-Linux-x86_64 - - - uses: actions/download-artifact@v4 - with: - name: confer-Linux-static-x86_64 - - - uses: actions/download-artifact@v4 - with: - name: confer-macOS-arm64 + pattern: confer-* + merge-multiple: true - name: Create GitHub prerelease uses: marvinpinto/action-automatic-releases@v1.2.1 @@ -187,3 +180,11 @@ jobs: confer-head-Linux-x86_64.tar.gz confer-head-Linux-static-x86_64.tar.gz confer-head-macOS-arm64.tar.gz + + - name: Pre-release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + prerelease: true + files: ./out/* + tag_name: print-api-head diff --git a/cabal.project b/cabal.project index 60eda37..b36b52f 100644 --- a/cabal.project +++ b/cabal.project @@ -4,9 +4,6 @@ active-repositories: hackage.haskell.org with-compiler: ghc-9.8 --- program-locations --- haddock-location: haddock-9.8 - allow-newer: mtl, ansi-terminal, text, tasty test-show-details: direct @@ -15,11 +12,9 @@ documentation: True tests: True --- semaphore: True - --- multi-repl: True +semaphore: True -jobs: $ncpus +multi-repl: True package * ghc-options: +RTS -A32m -RTS -haddock diff --git a/confer.cabal b/confer.cabal index 7c2bb7c..70d5f06 100644 --- a/confer.cabal +++ b/confer.cabal @@ -44,6 +44,7 @@ common extensions default-language: GHC2021 common ghc-options + ghc-prof-options: -fprof-auto -fno-prof-count-entries -fprof-auto-calls ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints