-
Notifications
You must be signed in to change notification settings - Fork 54
Add suport for GHC nightlies via GHCup #279
Conversation
75021a6
to
53f6a3a
Compare
Currently failing on the expected GHC version check. We have no way to know in advance this version! Should we check only the |
76b1446
to
fccd6d7
Compare
This is supported since GHCup 0.1.19.3. See: https://www.haskell.org/ghcup/guide/#nightlies
ce3ea5d
to
45bc95a
Compare
45bc95a
to
33cf5c0
Compare
I found a way to check the exact version of the latest GHC nightly, but it seems convoluted. Also, why |
.github/workflows/workflow.yml
Outdated
if [[ "${{ steps.setup.outputs.ghc-version }}" == "latest-nightly" ]] | ||
then | ||
# TODO: Shouldn't we use steps.setup.outputs.ghcup-release-channel? | ||
# Why is empty? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ghcup-release-channel
is not an output of the setup action, you can see inputs and outputs of this action here: https://github.com/haskell/actions/blob/fc675398fab930927d01e9c00eee89066aa2ca12/setup/action.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. So the current use of matrix.ghcup_release_channel
is OK I guess?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, apologies for the delay!
Released as |
Available since GHCup 0.1.19.3.
Related issues:
Closes #93.
Closes #137.