Manual mode fixes #28
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: Check-Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
dotnet-version: ['7.0.x' ] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Add MSBuild to PATH | |
uses: microsoft/[email protected] | |
- name: Restore and build (publish) | |
run: msbuild plugin_OSC /restore /p:Platform=x64 /p:PlatformTarget=x64 /p:Configuration=Release /p:RuntimeIdentifier=win10-x64 /t:Publish /p:PublishProfile=plugin_OSC\Properties\PublishProfiles\FolderProfile.pubxml | |
- name: Pack published files | |
run: | | |
cd plugin_OSC/bin/Release/net7.0/win10-x64/publish | |
7z a plugin_OSC.zip * | |
- name: Upload plugin artifact | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: true | |
title: "plugin_OSC Build Artifact" | |
files: | | |
./plugin_OSC/bin/Release/net7.0/win10-x64/publish/plugin_OSC.zip | |
./external/manifest.json |