File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ jobs:
336
336
apk add bash curl sudo jq pkgconfig \
337
337
zlib-dev zlib-static binutils-gold curl \
338
338
gcc g++ gmp-dev libc-dev libffi-dev make \
339
- musl-dev ncurses-dev perl tar xz
339
+ musl-dev ncurses-dev perl tar xz git
340
340
341
341
- uses : actions/checkout@v4
342
342
@@ -368,9 +368,20 @@ jobs:
368
368
run : |
369
369
echo 'executable-static: true' >> cabal.validate.project
370
370
371
+ # Try to figure out why we have no git info, part 1
372
+ # The output is kinda nonsense because we don't tag or branch the way it expects,
373
+ # but in this case the only worrisome situation is it erroring.
374
+ - run : git describe
375
+
371
376
- name : Build
372
377
run : sh validate.sh $FLAGS -s build
373
378
379
+ # Try to figure out why we have no git info, part 2
380
+ - run : |
381
+ if $(cabal list-bin --builddir=dist-newstyle-validate-ghc-${{ env.GHC_FOR_RELEASE }} --project-file=cabal.validate.project cabal-install:exe:cabal) --version 2>&1 | grep ' , '; then
382
+ exit 1
383
+ fi
384
+
374
385
- name : Tar cabal head executable
375
386
run : |
376
387
CABAL_EXEC=$(cabal list-bin --builddir=dist-newstyle-validate-ghc-${{ env.GHC_FOR_RELEASE }} --project-file=cabal.validate.project cabal-install:exe:cabal)
You can’t perform that action at this time.
0 commit comments