A Github Action for the Uplift semantic versioning tool.
Easily integrate uplift into your existing workflows, by using @v2
of the action:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: gembaadvantage/uplift-action@v2
with:
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
If you need uplift to trigger another workflow after it has tagged your repository, you will need to associate a custom personal access token with the GITHUB_TOKEN
. This is by design.
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: gembaadvantage/uplift-action@v2
with:
args: release
env:
GITHUB_TOKEN: ${{ secrets.GH_UPLIFT }}
You can also configure the behaviour of uplift by setting its inputs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: gembaadvantage/uplift-action@v2
with:
version: latest
install-only: true
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Customisable inputs can be provided through the with
keys:
Name | Required | Type | Default | Description |
---|---|---|---|---|
version |
No | String | latest |
The uplift version, see available |
install-only |
No | Boolean | false |
Set to true to install uplift and expose the binary on the current PATH |
args |
Yes | String | A list of arguments that are used when running Uplift |