Skip to content

Updated

Updated #1

name: Build - Plugin for GTA San Andreas
on:
push:
paths:
- "!*.md"
- "!*.exe"
- "hooking\*"

Check failure on line 8 in .github/workflows/Build_Plugin_GTA_SA.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/Build_Plugin_GTA_SA.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
- "injector\*"
- "modutils\*"
- "safetyhook\*"
- "shared\*"
- "plugin_sa\*"
jobs:
build:
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 - GTA San Andreas
shell: cmd
run: |
set PLUGIN_SDK_DIR=%GITHUB_WORKSPACE%
msbuild -m plugin.sln /property:Configuration=zDebug /property:Platform="Mixed Platforms" /target:plugin_sa