Update keys and update to net7.0 #44
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: Build CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
linux: | |
name: Linux build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Upload Syndical.Application binary | |
uses: actions/[email protected] | |
with: | |
name: "Syndical.Application-linux" | |
path: "Syndical.Application/bin/" | |
windows: | |
name: Windows build | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Upload Syndical.Application binary | |
uses: actions/[email protected] | |
with: | |
name: "Syndical.Application-windows" | |
path: "Syndical.Application/bin/" | |
macos: | |
name: MacOS build | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Upload Syndical.Application binary | |
uses: actions/[email protected] | |
with: | |
name: "Syndical.Application-macos" | |
path: "Syndical.Application/bin/" |