From f651dcf7968fe021775ed25c0433225724e9815e Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Thu, 23 May 2024 15:36:11 -0400 Subject: [PATCH] Can install twice --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 7da8679..baf05ca 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,21 @@ jobs: - run: runhaskell Hello.hs ``` +### Multiple GHC versions + +If you need multiple versions of GHC installed at the same time, it is possible +to run the action twice. + +```yaml + - uses: haskell-actions/setup@v2 + with: + ghc-version: '9.8.2' + + - uses: haskell-actions/setup@v2 + with: + ghc-version: '8.10.7' +``` + ### Model cabal workflow with caching ```yaml