mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
46 lines
854 B
YAML
46 lines
854 B
YAML
name: Build & package
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main", "release-candidate" ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Add MSBuild to PATH
|
|
uses: microsoft/setup-msbuild@v1.0.2
|
|
|
|
- name: Setup vcpkg
|
|
run: |
|
|
bootstrap-vcpkg
|
|
vcpkg integrate install
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v2
|
|
|
|
- name: Build
|
|
working-directory: .
|
|
run: "./build_package.bat"
|
|
shell: cmd
|
|
|
|
- name: Upload a Build Artifact
|
|
uses: actions/upload-artifact@v4.6.1
|
|
with:
|
|
name: development_build_not_a_release
|
|
path: ./package
|
|
|
|
- name: Upload a Build Artifact
|
|
uses: actions/upload-artifact@v4.6.1
|
|
with:
|
|
name: zip_only_package
|
|
path: ./zip
|
|
|
|
|