Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 04384aa

Browse files
committed
Add build workflow
1 parent 4469cdb commit 04384aa

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build-cli.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "Build CLI"
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v2
9+
- name: Setup .NET Core SDK 6
10+
uses: actions/setup-dotnet@v1
11+
with:
12+
dotnet-version: 6.x
13+
- uses: actions/cache@v2
14+
with:
15+
path: ~/.nuget/packages
16+
# Look to see if there is a cache hit for the corresponding requirements file
17+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
18+
restore-keys: |
19+
${{ runner.os }}-nuget
20+
- name: Install dependencies
21+
run: dotnet restore
22+
- name: Build
23+
run: dotnet build --configuration Release --no-restore

0 commit comments

Comments
 (0)