Skip to content

Commit

Permalink
docs: add example to bump mix project version
Browse files Browse the repository at this point in the history
  • Loading branch information
fahchen committed Apr 21, 2024
1 parent 54f422c commit d45e286
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions denoified-actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
```

0 comments on commit d45e286

Please sign in to comment.