@@ -161,7 +161,11 @@ jobs:
161161
162162 - name : Build
163163# if: runner.os != 'Windows'
164- run : cabal test all --enable-tests --test-show-details=direct -j1 -v3 --extra-lib-dirs "$(cygpath -u "${env:GITHUB_WORKSPACE}")/blst-sources/blst"
164+ run : |
165+ echo ${env:GITHUB_WORKSPACE}
166+ echo ${GITHUB_WORKSPACE}
167+ echo $(cygpath -u "${env:GITHUB_WORKSPACE}")
168+ cabal build all --enable-tests --test-show-details=direct -j1 -v3 --extra-lib-dirs "${env:GITHUB_WORKSPACE}/blst-sources/blst"
165169
166170# - name: Run tests [WIN]
167171# if: runner.os == 'Windows'
@@ -171,7 +175,7 @@ jobs:
171175# run: cabal test all --enable-tests --test-show-details=direct -j1 -v3 --extra-lib-dirs ${env:GITHUB_WORKSPACE}/blst-sources/blst
172176
173177 - name : Run tests
174- run : cabal test all --enable-tests --test-show-details=direct -j1 -v3 --extra-lib-dirs ${GITHUB_WORKSPACE}/blst-sources/blst
178+ run : cabal test all --enable-tests --test-show-details=direct -j1 -v3 --extra-lib-dirs ${env: GITHUB_WORKSPACE}/blst-sources/blst
175179
176180 - uses : actions/upload-artifact@v3
177181 with :
@@ -193,8 +197,8 @@ jobs:
193197 # to restore the original path. Do note that some test might need msys2
194198 # and will silently fail if msys2 is not in path. See the "Run tests" step.
195199 #
196- # - name: Setup tmate session
197- # if: ${{ failure() }}
198- # uses: mxschmitt/action-tmate@v3
199- # with:
200- # limit-access-to-actor: true
200+ - name : Setup tmate session
201+ if : ${{ failure() }}
202+ uses : mxschmitt/action-tmate@v3
203+ with :
204+ limit-access-to-actor : true
0 commit comments