Skip to content

Action is responsible for applying .NET migrations to a database

Notifications You must be signed in to change notification settings

warrenbrasil/dotnet-migrations

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Warren - .NET Migrations 💿

This action is responsible for applying .NET migrations to a database

Inputs

project-path

Required: The path for the project that holds the migrations folder

startup-project-path

Required: The startup project of the application

dotnet-ef-version

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.

context

Required: The DbContext class name

connection

Required: The connection string for the database to apply migrations

Usage

- 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>

About

Action is responsible for applying .NET migrations to a database

Resources

Stars

Watchers

Forks

Packages

No packages published