From 413098cdac51bebc8b2f01912f39da8def850237 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Mon, 6 Feb 2023 17:20:32 +0100 Subject: [PATCH] Upload build output as artifacts (#342) This makes it super easy for translators to see the results of their work: every PR will now have a list of artifacts, one per translation. --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d31257e3..c3297ca9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -124,5 +124,11 @@ jobs: - name: Build course with ${{ matrix.language }} translation run: mdbook build + - name: Upload ${{ matrix.language }} translation + uses: actions/upload-artifact@v3 + with: + name: comprehensive-rust-${{ matrix.language }} + path: book/ + - name: Test code snippets with ${{ matrix.language }} translation run: mdbook test