Skip to content

Commit

Permalink
Update Publish-Nuget.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson authored Nov 20, 2023
1 parent d5d6198 commit ef1a855
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/Publish-Nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@ jobs:
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: dotnet restore
run: dotnet restore
- run: dotnet restore

- name: dotnet build
run: dotnet build --configuration Release --no-restore
- run: dotnet build --configuration Release --no-restore

- name: Test Packages
if: ${{ github.ref != 'refs/heads/main' && github.event_name != 'push' }}
run: dotnet test --configuration Release --logger "xunit;LogFilePath=test-results/results.xml" --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage
run: dotnet test --configuration Release --collect:"XPlat Code Coverage" --logger "xunit;LogFilePath=test-results/results.xml" --no-build --no-restore --results-directory ./coverage
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORGANIZATION_ID: ${{ secrets.OPENAI_ORGANIZATION_ID }}
Expand Down

0 comments on commit ef1a855

Please sign in to comment.