From d45e286ff78033f9519be17ca8025860c204b2de Mon Sep 17 00:00:00 2001 From: Phil Chen <06fahchen@gmail.com> Date: Sun, 21 Apr 2024 14:39:50 +0800 Subject: [PATCH] docs: add example to bump mix project version --- denoified-actions/README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/denoified-actions/README.md b/denoified-actions/README.md index 9a81f31..f70cd2f 100644 --- a/denoified-actions/README.md +++ b/denoified-actions/README.md @@ -21,3 +21,34 @@ repository: ${{ github.repository }} release-kind: ${{ inputs.releaseKind }} ``` + +**example** +```yaml +name: Version bump + +on: + workflow_dispatch: + inputs: + releaseKind: + description: 'Kind of version bump' + default: 'patch' + type: choice + options: + - patch + - minor + - major + required: true + +jobs: + bump: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - uses: Byzanteam/jet-actions/denoified-actions/elixir/bump_version@main + with: + gh-token: ${{ secrets.GITHUB_TOKEN }} + workflow-actor: ${{ github.actor }} + repository: ${{ github.repository }} + release-kind: ${{ inputs.releaseKind }} +```