Add PlayerAssist callback logic #2274
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This action checks whether all Squirrel files compile successfully using standalone Squirrel compiler | |
name: compile-check | |
on: [push, pull_request] | |
jobs: | |
compile: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
path: "mods" | |
- name: Compile Scripts | |
uses: ASpoonPlaysGames/squirrel-re-compiler@v3 | |
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 | |
run: rmdir ${{ github.workspace }}\mods\Northstar.Custom /s /q | |
shell: cmd | |
- name: Compile Scripts (No Northstar.Custom) | |
uses: ASpoonPlaysGames/squirrel-re-compiler@v3 | |
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 |