This repository has been archived by the owner on Aug 24, 2024. It is now read-only.
Merge pull request #37 from VPKSoft/dependabot/nuget/Eto.Forms-2.8.0 #128
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: Linux and Windows .NET Core | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- '**/README.md' | |
pull_request: | |
branches: [ "main" ] | |
paths-ignore: | |
- '**/README.md' | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 7.0.x | |
- name: Restore dependencies | |
run: dotnet restore "$GITHUB_WORKSPACE/TestApplication.sln" | |
- name: Build | |
run: dotnet build --no-restore "$GITHUB_WORKSPACE/TestApplication.sln" | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 7.0.x | |
- name: Restore dependencies | |
run: dotnet restore "$Env:GITHUB_WORKSPACE/TestApplication.sln" | |
- name: Build | |
run: dotnet build --no-restore "$Env:GITHUB_WORKSPACE//TestApplication.sln" |