From 4f5914f0fed45b260447473b5eedd783ab5facf4 Mon Sep 17 00:00:00 2001 From: Fabrice Le Fessant Date: Sat, 13 Jan 2024 10:49:50 +0100 Subject: [PATCH] Fix initial github workflow --- .github/workflows/ubuntu.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 86cd2c9..4c1b68c 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -36,15 +36,28 @@ jobs: git config --global user.name github-actions git config --global user.email github-actions-bot@users.noreply.github.com - - name: bootstrap + - name: Generate PDFs run: | cd guide make pdf - - name: Upload some pdfs + - name: Upload all pdfs uses: actions/upload-artifact@v3.1.0 with: - name: gnucobol-docs PDF distribution + name: gnucobol-docs-all-pdfs path: guide/PDFs/*.pdf if-no-files-found: error retention-days: 0 + + - name: Generate HTML + run: | + cd guide + make html + + - name: Upload HTML + uses: actions/upload-artifact@v3.1.0 + with: + name: gnucobol-docs-html + path: guide/HTML + if-no-files-found: error + retention-days: 0