Skip to content

Commit cefb427

Browse files
authored
Merge pull request #760 from betalgo/dev
.
2 parents 727f76e + 2a42b0d commit cefb427

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/BuildAndDeployBetalgoOpenAI.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: actions/setup-dotnet@v4
1919
with:
2020
dotnet-version: 9.0.x
21+
2122
- name: Restore dependencies
2223
run: dotnet restore
2324
- name: Build
@@ -42,12 +43,19 @@ jobs:
4243
uses: actions/setup-dotnet@v4
4344
with:
4445
dotnet-version: 9.0.x
46+
47+
- name: Restore (publish)
48+
run: dotnet restore OpenAI.SDK/Betalgo.Ranul.OpenAI.csproj
49+
50+
- name: Build (publish, Release)
51+
run: dotnet build OpenAI.SDK/Betalgo.Ranul.OpenAI.csproj -c Release --no-restore
4552

4653
- name: Publish OpenAI
4754
uses: Betalgo/[email protected]
4855
with:
4956
project-file: OpenAI.SDK/Betalgo.Ranul.OpenAI.csproj
5057
nuget-api-key: ${{ secrets.NUGET_KEY }}
58+
clean: false
5159
tag-commit: true
5260
tag-format: Betalgo.Ranul.OpenAI-v*
5361

@@ -56,6 +64,7 @@ jobs:
5664
with:
5765
project-file: Betalgo.Ranul.OpenAI.Contracts/Betalgo.Ranul.OpenAI.Contracts.csproj
5866
nuget-api-key: ${{ secrets.NUGET_KEY }}
67+
clean: false
5968
tag-commit: true
6069
tag-format: Betalgo.Ranul.OpenAI.Contracts-v*
6170

@@ -64,5 +73,6 @@ jobs:
6473
with:
6574
project-file: OpenAI.Utilities/Betalgo.OpenAI.Utilities.csproj
6675
nuget-api-key: ${{ secrets.NUGET_KEY_UTILITIES }}
76+
clean: false
6777
tag-commit: true
6878
tag-format: Betalgo.OpenAI.Utilities-v*

0 commit comments

Comments
 (0)