From 6d836d8f302e9368a69474aabdc8dda3476b1e4c Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 1 Oct 2020 21:56:53 -0400 Subject: [PATCH] run documentation actions in parallel --- .github/workflows/documentation.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 430657bd85..9a85f4897d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -11,11 +11,10 @@ jobs: continue-on-error: true runs-on: ubuntu-latest container: "lammps/buildenv:fedora32_mingw" + strategy: + matrix: + target: ['html', 'pdf', 'spelling'] steps: - uses: actions/checkout@master - - name: Generate HTML - run: make -C doc -j 2 html - - name: Generate PDF - run: make -C doc -j 2 pdf - - name: Check Spelling - run: make -C doc -j 2 spelling + - name: Generate ${{ matrix.target }} + run: make -C doc ${{ matrix.target }}