File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2121 - name : 🔍 Determine stack resolver & GHC
2222 run : |
2323 STACK_RESOLVER=$(yq .resolver stack.yaml)
24- GHC_VERSION=$(yq .compiler stack.yaml)
24+ # GHC_VERSION=$(echo $(yq .compiler stack.yaml) | grep -oP '\d+\.\d+\.\d+')
25+ GHC_VERSION=$(echo $(yq .compiler stack.yaml) | cut -c 5-)
2526 echo STACK_RESOLVER="${STACK_RESOLVER}" >> "${GITHUB_ENV}"
2627 echo GHC_VERSION="${GHC_VERSION}" >> "${GITHUB_ENV}"
2728
Original file line number Diff line number Diff line change 2121 - name : 🔍 Determine stack resolver & GHC
2222 run : |
2323 STACK_RESOLVER=$(yq .resolver stack.yaml)
24- GHC_VERSION=$(yq .compiler stack.yaml)
24+ GHC_VERSION=$(echo $( yq .compiler stack.yaml) | cut -c 5- )
2525 echo STACK_RESOLVER="${STACK_RESOLVER}" >> "${GITHUB_ENV}"
2626 echo GHC_VERSION="${GHC_VERSION}" >> "${GITHUB_ENV}"
2727
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: CI (Windows)
44
55on :
66 push :
7- branches : [master, ci-*]
7+ branches : [master, ci-*, ci ]
88 tags :
99 - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
1010 pull_request :
3333 run : |
3434 STACK_ROOT="C:/Users/runneradmin/AppData/Local/Programs/stack/x86_64-windows"
3535 STACK_RESOLVER=$(yq .resolver stack.yaml)
36- GHC_VERSION=$(yq .compiler stack.yaml)
36+ GHC_VERSION=$(echo $( yq .compiler stack.yaml) | cut -c 5- )
3737 echo STACK_ROOT="${STACK_ROOT}" >> "${GITHUB_ENV}"
3838 echo STACK_RESOLVER="${STACK_RESOLVER}" >> "${GITHUB_ENV}"
3939 echo GHC_VERSION="${GHC_VERSION}" >> "${GITHUB_ENV}"
You can’t perform that action at this time.
0 commit comments