Merge pull request #524 from betalgo/dev #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build And Deploy Betalgo.OpenAI.Utilities | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Sleep for 15 minutes | |
run: sleep 15m | |
- 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/publish-nuget@v3.1.0 | |
with: | |
PROJECT_FILE_PATH: OpenAI.Utilities\OpenAI.Utilities.csproj | |
NUGET_KEY: ${{secrets.NUGET_KEY}} | |
INCLUDE_SYMBOLS: true | |
PACKAGE_NAME: Betalgo.OpenAI.Utilities |