From ef0bc6efb8b0b689320d68fac1ee95811e30625c Mon Sep 17 00:00:00 2001 From: Paul Cadman Date: Fri, 13 Sep 2024 16:52:51 +0100 Subject: [PATCH] Update linux static binary workflow for GHC 9.10.1 (#3034) 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. --- .github/workflows/linux-static-binary.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux-static-binary.yaml b/.github/workflows/linux-static-binary.yaml index f4caa94943..5a7194271b 100644 --- a/.github/workflows/linux-static-binary.yaml +++ b/.github/workflows/linux-static-binary.yaml @@ -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 @@ -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