Skip to content

Commit

Permalink
Run compile check on vanilla as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpoonPlaysGames authored Dec 5, 2024
1 parent c3c2535 commit e246d34
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/compile-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ jobs:
with:
mods-directory: "${{ github.workspace }}/mods"
native-json: "${{ github.workspace }}/mods/.github/nativefuncs.json"
vanilla: false

- name: Compile Scripts (Vanilla)
uses: ASpoonPlaysGames/squirrel-re-compiler@v3
with:
mods-directory: "${{ github.workspace }}/mods"
native-json: "${{ github.workspace }}/mods/.github/nativefuncs.json"
vanilla: true

# It's important that scripts compile when Northstar.Custom isn't enabled/installed, so run again without it
- name: Remove Northstar.Custom
Expand All @@ -28,3 +36,11 @@ jobs:
with:
mods-directory: "${{ github.workspace }}/mods"
native-json: "${{ github.workspace }}/mods/.github/nativefuncs.json"
vanilla: false

- name: Compile Scripts (Vanilla, No Northstar.Custom)
uses: ASpoonPlaysGames/squirrel-re-compiler@v3
with:
mods-directory: "${{ github.workspace }}/mods"
native-json: "${{ github.workspace }}/mods/.github/nativefuncs.json"
vanilla: true

0 comments on commit e246d34

Please sign in to comment.