1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-06 06:53:33 +03:00

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.
This commit is contained in:
Paul Cadman 2024-09-13 16:52:51 +01:00 committed by GitHub
parent 87adaf4512
commit ef0bc6efb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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