0.10.0 #5
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: Publish to Nuget | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
name: Release build and publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '6' | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build nuget | |
run: | | |
dotnet build -c Release | |
dotnet pack -c Release | |
- name: Publish nuget | |
run: dotnet nuget push ./Appwrite/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json |