Added more info and testing #major #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uses action: https://github.com/marketplace/actions/increment-version | |
name: IncrementVersion | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Calculate the version | |
id: version | |
uses: christian-draeger/increment-semantic-version@1.0.3 | |
with: | |
current-version: '1.0.0' | |
version-fragment: 'bug' | |
- name: Display the version | |
run: | | |
echo Version: ${{ steps.version.outputs.next-version }} |