chore: more work on workflows
This commit is contained in:
@@ -67,6 +67,10 @@ jobs:
|
||||
with:
|
||||
name: change-log
|
||||
path: src/AntropicClient
|
||||
- name: Publish NuGet package
|
||||
run: |
|
||||
dotnet pack src/AnthropicClient/AntropicClient.csproj -o ./artifacts
|
||||
dotnet nuget push ./artifacts/*.nupkg --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json
|
||||
- name: Create GitHub release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
|
||||
@@ -39,6 +39,7 @@ jobs:
|
||||
- name: Run tests
|
||||
env:
|
||||
SKIP_EXAMPLES: true
|
||||
AnthropicApiKey: ${{ secrets.ANTHROPIC_KEY }}
|
||||
run: dotnet test
|
||||
- name: Upload html coverage report
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user