Skip to content

ci: add build.yml workflow #1

ci: add build.yml workflow

ci: add build.yml workflow #1

Workflow file for this run

name: .NET
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Setup Node.JS
uses: actions/setup-node@v4
with:
node-version: 16
cache: npm
- name: Install NPM dependencies
run: npm ci
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.301
- name: Restore
run: dotnet tool restore
- name: Paket install
run: dotnet paket install
- name: Build
run: dotnet fake build
- uses: actions/upload-artifact@v3
with:
name: my-artifact
path: release