From 665df8b04aceb7d090eb7f2c73ea25149d597f94 Mon Sep 17 00:00:00 2001 From: Till Hoffmann Date: Wed, 13 Sep 2023 15:04:40 -0400 Subject: [PATCH] Add step to upload results and figures as artifacts. --- .github/workflows/main.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c065ba2..9db032c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -17,3 +17,11 @@ jobs: run: docker build -t gptools . - name: Generate figures (using ./in-docker.sh but we can't use `-it` in the Action). run: docker run --rm -e FAST=true -v `pwd`:/workdir gptools cook exec figures + - name: Upload figures and reports as artifacts. + uses: actions/upload-artifact@v3 + with: + name: figures-reports + path: | + */*.html + */*.pdf + */*.png