File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 68
68
echo "CABAL_STORE_DIR=$SYSTEMDRIVE\\SR" >> $GITHUB_ENV
69
69
echo "CABAL_PKGS_DIR=~\\AppData\\cabal\\packages" >> $GITHUB_ENV
70
70
71
- - if : matrix.os != 'windows-latest'
72
- name : Set some linux /macOS specific things
71
+ - if : (${{ env.RUNNER_OS }} == 'Linux') || (${{ env.RUNNER_OS}} == 'macOS')
72
+ name : Set some Linux /macOS specific things
73
73
run : |
74
74
echo "CABAL_STORE_DIR=~/.cabal/store" >> $GITHUB_ENV
75
75
echo "CABAL_PKGS_DIR=~/.cabal/packages" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -85,14 +85,15 @@ jobs:
85
85
- run : ./fmt.sh
86
86
name : " HLint via ./fmt.sh"
87
87
88
- - if : matrix.os == 'windows-latest '
88
+ - if : ${{ env.RUNNER_OS }} == 'Windows '
89
89
name : Set some window specific things
90
90
run : |
91
91
echo "CABAL_STORE_DIR=$SYSTEMDRIVE\\SR" >> $GITHUB_ENV
92
92
echo "CABAL_PKGS_DIR=~\\AppData\\cabal\\packages" >> $GITHUB_ENV
93
93
94
- - if : matrix.os != 'windows-latest'
95
- name : Set some linux/macOS specific things
94
+
95
+ - if : (${{ env.RUNNER_OS }} == 'Linux') || (${{ env.RUNNER_OS}} == 'macOS')
96
+ name : Set some Linux/macOS specific things
96
97
run : |
97
98
echo "CABAL_STORE_DIR=~/.cabal/store" >> $GITHUB_ENV
98
99
echo "CABAL_PKGS_DIR=~/.cabal/packages" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments