Workflow file for this run
This file contains hidden or 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
| name: Build - Plugin for GTA SA | |
| on: | |
| push: | |
| paths: | |
| - "!**.dll" | |
| - "!**.md" | |
| - "!**.txt" | |
| - "hooking/**" | |
| - "injector/**" | |
| - "modutils/**" | |
| - "safetyhook/**" | |
| - "shared/**" | |
| - "plugin_sa/**" | |
| jobs: | |
| build: | |
| name: Build Plugin GTA SA | |
| runs-on: windows-2022 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: "recursive" | |
| - name: Setup msbuild | |
| uses: microsoft/setup-msbuild@v2 # add msbuild to PATH | |
| - name: Premake Visual Studio project | |
| shell: cmd | |
| run: | | |
| set PLUGIN_SDK_DIR=%GITHUB_WORKSPACE% | |
| "tools\generate\Visual Studio.bat" | |
| - name: Build | |
| shell: cmd | |
| run: | | |
| set PLUGIN_SDK_DIR=%GITHUB_WORKSPACE% | |
| msbuild -m plugin.sln /property:Configuration=zDebug /property:Platform="Mixed Platforms" /target:plugin_sa |