move docker step back into separate job

This commit is contained in:
Jared Weakly 2020-06-04 14:06:17 -07:00
parent 79c0c994ee
commit 656b746cbd

View File

@ -23,8 +23,27 @@ jobs:
d="$(date -I)"
echo "::set-output name=cryptol-name::cryptol-$ver-$d"
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://pandoc/latex:latest
with:
args: >-
sh -c
"
apk add make &&
tlmgr install subfigure lastpage preprint adjustbox nag collectbox sectsty todonotes palatino mathpazo &&
cd docs &&
make
"
- uses: actions/upload-artifact@v2
with:
path: docs
name: docs
build:
needs: [outputs]
needs: [outputs, docs]
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -34,19 +53,15 @@ jobs:
with:
submodules: true
- uses: docker://pandoc/latex:latest
with:
args: >-
sh -c "
apk add make &&
tlmgr install subfigure lastpage preprint adjustbox nag collectbox sectsty todonotes palatino mathpazo &&
cd docs &&
make"
- uses: actions/setup-haskell@v1.1
with:
ghc-version: "8.8"
- uses: actions/download-artifact@v2
with:
path: docs
name: docs
- shell: bash
# path stuff is a temporary workaround until setup-haskell is fixed.
run: |