mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-27 11:13:48 +03:00
move docker step back into separate job
This commit is contained in:
parent
79c0c994ee
commit
656b746cbd
35
.github/workflows/nightly.yml
vendored
35
.github/workflows/nightly.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user