From 8648129e2b7d2807d1f363d962c1a3259f8eb59f Mon Sep 17 00:00:00 2001 From: Taewon Kim Date: Sun, 4 Aug 2024 22:05:02 -0700 Subject: [PATCH] update GitHub action to build SVE pack --- .github/workflows/build.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f320d0a..ae2a6e0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,16 +34,26 @@ jobs: - name: Install dependencies run: poetry install --only main - - name: Build content pack + - name: Build base content pack run: poetry run python3 src/main.py + - name: Build SVE content pack + run: poetry run python3 src/main.py -e SVE + - name: Get metadata run: | echo "MOD_VERSION=$(cat out/LATEST)" >> $GITHUB_ENV - - name: Save base game content pack + - name: Save base content pack uses: actions/upload-artifact@v4 with: name: orientalmelon.baechusportraits-${{ env.MOD_VERSION }}-base path: out/orientalmelon.baechusportraits-${{ env.MOD_VERSION }}-base* if-no-files-found: error + + - name: Save SVE content pack + uses: actions/upload-artifact@v4 + with: + name: orientalmelon.baechusportraits-${{ env.MOD_VERSION }}-base-sve + path: out/orientalmelon.baechusportraits-${{ env.MOD_VERSION }}-base-sve* + if-no-files-found: error