From a0e2b0c432333d916c12cce613b378242e28a5f3 Mon Sep 17 00:00:00 2001 From: Seemann Date: Fri, 7 Jun 2024 20:04:24 -0400 Subject: [PATCH] test workflow --- .github/workflows/main.yml | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/main.yml 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"