Skip to content

Version bump to 4.0.5 #60

Version bump to 4.0.5

Version bump to 4.0.5 #60

Workflow file for this run

name: Publish Nuget Package
on:
push:
branches:
- release/* # Default release branch
jobs:
publish:
name: build, pack & publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
- name: Wait for tests to succeed
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
check-name: 'buildAndTest'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Install dependencies
run: dotnet restore
- name: Build Postgrest
run: dotnet build ./Gotrue/Gotrue.csproj --configuration Release --no-restore
# Publish
- name: publish on version change
run: nuget push "**/*.nupkg" -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}