Run linux tests on .NET Core 6.0 (#15) #35
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-artifacts | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build-nuget: | |
runs-on: ubuntu-latest | |
env: | |
CONFIGURATION: "release" | |
steps: | |
- name: Checks-out repository | |
uses: actions/checkout@v2 | |
- name: Build nuget | |
run: | | |
dotnet pack BobClient/Qoollo.BobClient/Qoollo.BobClient.csproj -c $CONFIGURATION -o nuget | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: qoollo-bobClient-nuget | |
path: nuget | |
build-client-app-linux: | |
runs-on: ubuntu-latest | |
env: | |
CONFIGURATION: "release" | |
RUNTIME: "linux-x64" | |
FRAMEWORK: "net6.0" | |
steps: | |
- name: Checks-out repository | |
uses: actions/checkout@v2 | |
- name: Build client | |
run: | | |
dotnet publish -c $CONFIGURATION -r $RUNTIME -f $FRAMEWORK -o publish BobClient/Qoollo.BobClient.App/Qoollo.BobClient.App.csproj | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: qoollo-bobClient-app-linux | |
path: publish | |
build-client-app-windows: | |
runs-on: ubuntu-latest | |
env: | |
CONFIGURATION: "release" | |
RUNTIME: "win-x64" | |
FRAMEWORK: "net6.0" | |
steps: | |
- name: Checks-out repository | |
uses: actions/checkout@v2 | |
- name: Build client | |
run: | | |
dotnet publish -c $CONFIGURATION -r $RUNTIME -f $FRAMEWORK -o publish BobClient/Qoollo.BobClient.App/Qoollo.BobClient.App.csproj | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: qoollo-bobClient-app-windows | |
path: publish |