feat: load only ncm3-compatible plugins for ncm3 #215
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MSBuild | |
on: | |
push: | |
branches: [ "v2" ] | |
pull_request: | |
branches: [ "v2" ] | |
env: | |
SOLUTION_FILE_PATH: . | |
BUILD_CONFIGURATION: Release | |
VCPKG_DEFAULT_TRIPLET: x86-windows | |
VCPKG_INSTALLED_DIR: ./vcpkg_installed/ | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: windows-latest | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Add MSBuild to PATH | |
uses: microsoft/[email protected] | |
- name: Setup vcpkg | |
uses: lukka/run-vcpkg@v10 | |
with: | |
vcpkgGitCommitId: 69efe9cc2df0015f0bb2d37d55acde4a75c9a25b | |
- name: Install vcpkg dependencies | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: ./InstallDependencies.bat | |
- name: Install NPM packages | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: cd ./src/js-framework ; npm i | |
- name: Build | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: msbuild .\BetterNCMII.sln -p:Platform="All" -p:Configuration=Release | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
name: Upload to Github Release | |
if: github.event_name != 'pull_request' | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "dev-nightly" | |
prerelease: true | |
title: "Latest Test Release" | |
files: | | |
${{ github.workspace }}/Release/BetterNCMII.dll | |
${{ github.workspace }}/Release_86/BetterNCMII86.dll | |
- name: Upload Artifact | |
uses: actions/[email protected] | |
with: | |
name: BetterNCMII | |
path: | | |
${{ github.workspace }}/Release/BetterNCMII.dll | |
${{ github.workspace }}/Release_86/BetterNCMII86.dll | |