Skip to content

Add instructions to build and run locally #173

Add instructions to build and run locally

Add instructions to build and run locally #173

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: Src
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build Debug
run: dotnet build --no-restore
- name: Build Release
run: dotnet build --no-restore --configuration Release
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: Debug
path: |
Src/App/Klipboard/bin/Debug
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: Release
path: |
Src/App/Klipboard/bin/Release