Skip to content

Fix a bug

Fix a bug #10

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build Apricot/Apricot.csproj --no-restore --configuration Release
# - name: Test
# run: dotnet test Apricot/Apricot.csproj --no-build --verbosity normal
- name: Publish
run: dotnet publish Apricot/Apricot.csproj --configuration Release --framework net6.0-windows10.0.17763.0 --output Apricot/bin/Release/net6.0-windows10.0.17763.0/win10-x64/publish/ --runtime win10-x64 --self-contained true
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: Apricot-win-x64
path: Apricot/bin/Release/net6.0-windows10.0.17763.0/win10-x64/publish/
retention-days: 30