Something went wrong. Try again.
A database migration tool for .NET
Something went wrong. Try again.
12345678910111213141516171819202122232425262728# Builds, tests, packs with a pre-release version suffix, and publishes to# nuget.org whenever changes merge into develop.when: - event: ["push"] branch: ["develop"]
engine: "microvm"image: "nixos"
dependencies: - dotnet-sdk_10
steps: - name: "Restore" command: dotnet restore Migrato.slnx --no-logo
- name: "Build" command: dotnet build Migrato.slnx -c Release --no-restore
- name: "Test" command: dotnet test Migrato.slnx -c Release --no-build
- name: "Pack" command: dotnet pack Migrato.slnx -c Release --no-build -p:VersionSuffix=beta.$(date -u +%Y%m%d%H%M%S)
- name: "Push to nuget.org" command: dotnet nuget push "nupkg/*.nupkg" --api-key "$NUGET_API_KEY" --source https://api.nuget.org/v3/index.json --skip-duplicate