Skip to content

Commit 8405343

Browse files
committed
Release 0.0.0
1 parent 747e0cd commit 8405343

File tree

424 files changed

+25637
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

424 files changed

+25637
-2
lines changed

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Specify files that shouldn't be modified by Fern

.github/workflows/ci.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: ci
2+
3+
on: [push]
4+
5+
jobs:
6+
compile:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repo
11+
uses: actions/checkout@v3
12+
13+
- uses: actions/checkout@master
14+
15+
- name: Setup .NET
16+
uses: actions/setup-dotnet@v1
17+
with:
18+
dotnet-version: 8.x
19+
20+
- name: Install tools
21+
run: |
22+
dotnet tool restore
23+
24+
- name: Build Release
25+
run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true
26+
27+
unit-tests:
28+
runs-on: ubuntu-latest
29+
30+
steps:
31+
- name: Checkout repo
32+
uses: actions/checkout@v3
33+
34+
- uses: actions/checkout@master
35+
36+
- name: Setup .NET
37+
uses: actions/setup-dotnet@v1
38+
with:
39+
dotnet-version: 8.x
40+
41+
- name: Install tools
42+
run: |
43+
dotnet tool restore
44+
45+
- name: Run Tests
46+
run: |
47+
dotnet test src
48+
49+
50+
publish:
51+
needs: [compile]
52+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
53+
runs-on: ubuntu-latest
54+
55+
steps:
56+
- name: Checkout repo
57+
uses: actions/checkout@v3
58+
59+
- name: Setup .NET
60+
uses: actions/setup-dotnet@v1
61+
with:
62+
dotnet-version: 8.x
63+
64+
- name: Publish
65+
env:
66+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
67+
run: |
68+
dotnet pack src -c Release
69+
dotnet nuget push src/Vapi.Client/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"

0 commit comments

Comments
 (0)