Skip to content

Commit

Permalink
ci: add build.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gretmn102 committed Aug 12, 2024
1 parent e9ed8ce commit 33f3f9d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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

0 comments on commit 33f3f9d

Please sign in to comment.