Resource Use nms in github actions CI

Discussion in 'Spigot Plugin Development' started by derongan, Mar 3, 2020.

  1. Recently, I was poking around with adding continuous integration to a few of my projects. I decided on using Github Actions for this, since it seemed fairly straight forward.

    A number of my plugins rely on nms, and nms generally supposed to be available on any public repository.

    To use nms in my CI builds I created a small github action that you can use in your build process.

    Usage is pretty simple, and looks like this.

    Code (YAML):
    - uses: derongan/[email protected]
    : 1.15.2
    - name
    : Install nms into m2
    : mkdir -p $HOME/.m2/repository && cp -a nms-build/.m2/repository/. $HOME/.m2/repository

    For a complete example you can check out my very broken plugin and its not broken workflow!
    • Like Like x 4