mirror of
https://github.com/ModOrganizer2/modorganizer.git
synced 2026-07-27 13:58:24 -07:00
34 lines
984 B
YAML
34 lines
984 B
YAML
name: Build ModOrganizer 2
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
env:
|
|
VCPKG_BINARY_SOURCES: ${{ vars.AZ_BLOB_VCPKG_URL != '' && format('clear;x-azblob,{0},{1},readwrite', vars.AZ_BLOB_VCPKG_URL, secrets.AZ_BLOB_SAS) || '' }}
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-2022
|
|
steps:
|
|
- name: Build ModOrganizer
|
|
id: build-modorganizer
|
|
uses: ModOrganizer2/build-with-mob-action@master
|
|
with:
|
|
qt-modules: qtpositioning qtwebchannel qtwebengine qtwebsockets qtnetworkauth
|
|
mo2-dependencies: usvfs uibase bsatk esptk archive lootcli
|
|
|
|
- name: Install ModOrganizer
|
|
shell: pwsh
|
|
run: |
|
|
cmake --install vsbuild --config RelWithDebInfo
|
|
working-directory: ./build/${{ github.event.repository.name }}
|
|
|
|
- name: Package ModOrganizer
|
|
uses: actions/upload-artifact@master
|
|
with:
|
|
name: modorganizer
|
|
path: ./install/bin
|