Skip to content

Adding GitHub workflow to bump version on push to main #1

Adding GitHub workflow to bump version on push to main

Adding GitHub workflow to bump version on push to main #1

Workflow file for this run

on:
push:
branches:
- 'main'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.head_ref }}
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 21
- name: Bump version
id: bump
uses: mickem/gh-action-bump-maven-version@v1