Add TODO for updating sqlx #89
Workflow file for this run
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: C# Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
dotnet: | |
name: C# Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core SDK | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 5.0.x | |
- name: Regen openapi libs | |
run: | | |
yarn | |
./regen_openapi.sh | |
- name: Install dependencies | |
run: | | |
cd csharp | |
dotnet restore | |
- name: Build | |
run: | | |
cd csharp | |
dotnet build --configuration Release Svix --no-restore | |
- name: Release | |
run: | | |
cd csharp | |
dotnet nuget push "$(find Svix/bin/Release/Svix.*.nupkg)" \ | |
--api-key "$NUGET_API_KEY" \ | |
--source "https://api.nuget.org/v3/index.json" | |
env: | |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} |