Skip to content

arit-ucsb/AppDev.EvolveVersion.Action

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

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evolve Version Github Action

This repo defines a JavaScript GitHub Action that determines the version of a database migration project based on which migration scripts are present.

Building and Deploying

Run the command npm run build to package the action for publishing. This will create a dist/index.js file containing all necessary application code. This file is referenced by the GitHub action in order to execute the action.

Inputs

  • scriptDirectory: The directory containing database migration scripts.

Outputs

  • version: The database version, as determined by the scripts in scriptDirectory.

Example usage

- name: Get version
        id: get_version
        uses: arit-ucsb/[email protected]
        with:
          scriptDirectory: "./Sql_Scripts"