Skip to content

Commit

Permalink
ci: fix two mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Oct 21, 2024
1 parent ce61400 commit b3126f9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,18 @@ jobs:
- name: Check cabal file
run: cabal check

- name: Build documentation
run: cabal haddock all
# - name: Build documentation
# run: cabal haddock all

- name: Build static binary
run: |
cd release && \
docker login ghrc.io --username spex-lang --password ${{ secrets.CR_PATH }} && \
docker login ghrc.io --username spex-lang --password ${{ secrets.CR_PAT }} && \
docker pull ghcr.io/spex-lang/spex-static-build && \
docker run \
-v "${PWD}/..":/mnt/:ro \
-v "~/.cabal/packages":/root/.cache/cabal/packages \
-v "~/cabal/store":/root/.local/state/cabal/store \
-v "~/.cabal/store":/root/.local/state/cabal/store \
-v "${PWD}/dist-newstyle":/mnt/dist-newstyle \
ghcr.io/spex-lang/spex-static-build
Expand All @@ -95,6 +95,7 @@ jobs:

# - name: Create tarball
# run: cabal sdist
# if: steps.autotag.outputs.created

# - uses: haskell-actions/[email protected]
# with:
Expand Down

0 comments on commit b3126f9

Please sign in to comment.