Skip to content

build(deps): bump org.springframework.cloud:spring-cloud-dependencies #28

build(deps): bump org.springframework.cloud:spring-cloud-dependencies

build(deps): bump org.springframework.cloud:spring-cloud-dependencies #28

Workflow file for this run

name: deploy
on:
push:
tags:
- '*.*.*'
jobs:
deploy:
if: github.event.base_ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
cache: maven
- name: Update version
run: >-
mvn versions:set
-DnewVersion=${RELEASE_VERSION} -DoldVersion=*
-DgroupId=* -DartifactId=*
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy
env:
GITHUB_TOKEN: ${{ github.token }}