diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..75434033 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,39 @@ +name: CLEO 4 Release Build + +on: + push: + branch: + - gh + +jobs: + build: + runs-on: windows-2019 + + steps: + - uses: actions/checkout@v4 + with: + submodules: "recursive" + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1 + + - name: Build Projects + shell: cmd + run: | + set PLUGIN_SDK_DIR=%GITHUB_WORKSPACE%\third-party\plugin-sdk + msbuild -m CLEO4.sln /property:Configuration=Release /property:Platform=GTASA + + - name: Pack Base Archive + uses: ThirteenAG/zip-release@master + with: + path: ./.output/Release/* + type: "zip" + filename: CLEO4.zip + exclusions: "*.pdb *.lib *.exp" + + - name: Upload Release + uses: ncipollo/release-action@main + with: + tag: test + prerelease: true + artifacts: "CLEO4.zip"