Skip to content

Ensure library's public API has the expected level of changes (major, minor or patch) since a previous version

License

Notifications You must be signed in to change notification settings

codemerx/assembly-differ-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

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assembly Differ

Ensure library's public API has the expected level of changes (major, minor or patch) since a previous version. Built on top of assembly-differ and JustAssembly.

Usage

This action is simple wrapper of the assembly-differ command-line tool. The arguments passed as the args parameter are forwarded to the command-line tool. The available assembly providers and examples can be found here.

Example usage

jobs:
  build:
    steps:
    ...
    - uses: codemerx/assembly-differ-action@v1
      with:
        args: '"assembly|${{github.workspace}}\latest-release\Library.dll" "assembly|${{github.workspace}}\Library\Library\bin\debug\netstandard2.0\Library.dll" -p=major'

Note: -p=<level> is required to ensure failed job in case of public API changes higher or equal to the provided level, e.g. the example job will fail if the library has breaking changes. Possible values are major, minor and patch.

License

This project is AGPL licensed.

About

Ensure library's public API has the expected level of changes (major, minor or patch) since a previous version

Topics

Resources

License

Stars

Watchers

Forks