GitHub CI - another attempt to install artifacts.
commit09cf70959f7603320b059790b3df8f036c14298d
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 15 Sep 2019, 22:35 (7 years ago)
parent9a07667
.github/workflows/haskell.yml+3−3
@@ -30,12 +30,12 @@ jobs:
3030 - name: Install artifact
3131 run: |
3232 export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH
33− mkdir -p ./bin
34− cabal v2-install exe:pandoc
33+ mkdir -p ./artifacts
34+ for f in $(find dist-newstyle -name 'pandoc*' -type f -perm +400); do cp $f ./artifacts/; done
3535 - uses: actions/upload-artifact@master
3636 with:
3737 name: pandoc-linux
38− path: $HOME/.cabal/bin/pandoc
38+ path: ./artifacts/pandoc
3939
4040 windows:
4141