Skip to content

Commit

Permalink
Merge pull request #9 from anoma/update-ghc-stack
Browse files Browse the repository at this point in the history
Update to GHC 9.10.1 and stack 3.1.1
  • Loading branch information
paulcadman authored Sep 13, 2024
2 parents 6586515 + 9a58f3f commit fc3d5f6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

env:
STACK_VERSION: 2.11.1
STACK_VERSION: 3.1.1

permissions:
id-token: write
Expand All @@ -17,7 +17,7 @@ jobs:
build-linux:
name: Build static Linux binary and release
runs-on: ubuntu-latest
container: quay.io/benz0li/ghc-musl:9.8.2
container: quay.io/benz0li/ghc-musl:9.10.1
outputs:
tag: ${{ steps.tag.outputs.value }}
steps:
Expand All @@ -34,9 +34,11 @@ jobs:

- name: install stack
run: |
curl https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/stack-$STACK_VERSION-linux-x86_64-static.tar.gz -OL
tar xf stack-$STACK_VERSION-linux-x86_64-static.tar.gz
cp stack-$STACK_VERSION-linux-x86_64-static/stack /usr/local/bin
TAR_BASE_NAME=stack-$STACK_VERSION-linux-x86_64
TAR_FILE_NAME=$TAR_BASE_NAME.tar.gz
curl https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/$TAR_FILE_NAME -OL
tar xf $TAR_FILE_NAME
cp $TAR_BASE_NAME/stack /usr/local/bin
- name: add ~/.local/bin to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
Expand Down

0 comments on commit fc3d5f6

Please sign in to comment.