From 90adc1d6e0575e5e6daa250be0899acbc58d3d92 Mon Sep 17 00:00:00 2001 From: Tzu-Yu Lee Date: Tue, 13 Feb 2024 03:33:33 +0800 Subject: [PATCH] Add artifact in CI build Save artifact file for debugging or testing. --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0adaf67..043c51f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,11 @@ jobs: BUILD_FLAGS: --drafts # A GitHub token is not necessary when BUILD_ONLY is true # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload artifact # For testing or debugging + uses: actions/upload-artifact@v4 + with: + name: public + path: ./public build_and_deploy: runs-on: ubuntu-latest