This action is responsible for applying .NET migrations to a database
Required: The path for the project that holds the migrations folder
Required: The startup project of the application
Not Required: The version of the dotnet-ef
global tool to be installed. By default, it is empty and it will install the latest version.
Required: The DbContext class name
Required: The connection string for the database to apply migrations
- name: Warren - Configure .NET SDK
uses: warrenbrasil/dotnet-migrations@v3
with:
project-path: ./src/FooProject
startup-project-path: ./src/FooProject.API
dotnet-ef-version: 7.0.14
context: FooDbContext
connection: <CONNECTION_STRING_GOES_HERE>