Skip to content

Merge pull request #678 from betalgo/dev #71

Merge pull request #678 from betalgo/dev

Merge pull request #678 from betalgo/dev #71

name: Build And Deploy Betalgo.Ranul.OpenAI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Clean
run: dotnet clean
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: publish OpenAI
id: publish_nuget_OpenAI
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: OpenAI.SDK\Betalgo.Ranul.OpenAI.csproj
NUGET_KEY: ${{secrets.NUGET_KEY}}
INCLUDE_SYMBOLS: true
PACKAGE_NAME: Betalgo.Ranul.OpenAI