From af576cab8b10c532d5f6c68b7c281847f77672d7 Mon Sep 17 00:00:00 2001 From: Paul Cadman Date: Thu, 19 Sep 2024 18:13:10 +0100 Subject: [PATCH] Revert "Merge pull request #9 from anoma/update-ghc-stack" This reverts commit fc3d5f6eafb5329757b3b9df290c6e50d3a10173, reversing changes made to 6586515bfbcb3bfa6c70f5445095d354e2461764. --- .github/workflows/release-nightly.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-nightly.yaml b/.github/workflows/release-nightly.yaml index 1ec3664..23723ee 100644 --- a/.github/workflows/release-nightly.yaml +++ b/.github/workflows/release-nightly.yaml @@ -6,7 +6,7 @@ on: workflow_dispatch: env: - STACK_VERSION: 3.1.1 + STACK_VERSION: 2.11.1 permissions: id-token: write @@ -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.10.1 + container: quay.io/benz0li/ghc-musl:9.8.2 outputs: tag: ${{ steps.tag.outputs.value }} steps: @@ -34,11 +34,9 @@ jobs: - name: install stack run: | - 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 + 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 - name: add ~/.local/bin to PATH run: echo "$HOME/.local/bin" >> $GITHUB_PATH