Skip to content

Merge pull request #21 from mayuki/feature/UpdateTargetFrameworks #1

Merge pull request #21 from mayuki/feature/UpdateTargetFrameworks

Merge pull request #21 from mayuki/feature/UpdateTargetFrameworks #1

Workflow file for this run

name: Build-Development
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
jobs:
Build:
# To build `net45` target, we need to run the build on Windows.
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
# Build
- run: dotnet restore
- run: dotnet build -c Release
# Run Unit tests
#- run: dotnet test -c Release --no-build --logger trx --results-directory ./artifacts
# Packaging
- name: dotnet pack Kurukuru
run: dotnet pack -c Release --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output ./artifacts ./Kurukuru/Kurukuru.csproj
# Upload & Publish
- uses: actions/upload-artifact@master
with:
name: Packages
path: artifacts