Java: Build updates in prep for package publication #9
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: .NET Core (Windows) | |
on: | |
push: | |
branches: [master] | |
paths: | |
- "cs/**" | |
- ".github/**" | |
pull_request: | |
branches: [master] | |
paths: | |
- "cs/**" | |
- ".github/**" | |
defaults: | |
run: | |
working-directory: cs | |
jobs: | |
ci-mswin: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1 | |
- name: MSVC CI | |
run: dotnet build | |
- name: Install dependencies | |
run: dotnet restore GS1GMN.sln | |
- name: Build | |
run: dotnet build GMN/GMN.csproj --configuration Release --no-restore | |
- name: Test | |
run: dotnet test GMNTests/GMNTests.csproj --no-restore --verbosity normal |