Skip to content

Commit

Permalink
Update linux static binary workflow for GHC 9.10.1 (#3034)
Browse files Browse the repository at this point in the history
This PR updates the GHC version and the stack version in the linux
static binary GitHub workflow. This is used to make Juvix linux binary
releases.

NB: The linux binary releases of stack no longer have the `-static`
suffix in the tar filename.
  • Loading branch information
paulcadman committed Sep 13, 2024
1 parent 87adaf4 commit ef0bc6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux-static-binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ on:
default: "main"

env:
STACK_VERSION: 2.11.1
STACK_VERSION: 3.1.1

jobs:
build:
name: Build static binary
runs-on: ubuntu-latest
container: quay.io/benz0li/ghc-musl:9.8.2
container: quay.io/benz0li/ghc-musl:9.10.1
steps:
- name: checkout code
uses: actions/checkout@v3
Expand All @@ -33,7 +33,7 @@ jobs:

- name: install stack
run: |
TAR_BASE_NAME=stack-$STACK_VERSION-linux-x86_64-static
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
Expand Down

0 comments on commit ef0bc6e

Please sign in to comment.