Skip to content

Commit

Permalink
update GitHub action to build SVE pack
Browse files Browse the repository at this point in the history
  • Loading branch information
koreanmelon committed Aug 5, 2024
1 parent 8a92351 commit 8648129
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8648129

Please sign in to comment.