Skip to content

Commit d8bc653

Browse files
author
Ramachandran Nellaiyappan
committed
[feat] Release workflow trigger changed to release publish
1 parent 7087e98 commit d8bc653

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release-workflow.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
name: Build, Package, Publish & Deploy
1010

1111
on:
12-
push:
13-
tags:
14-
- v*
12+
release:
13+
types:
14+
- published
1515

1616
jobs:
1717
build:
@@ -26,8 +26,8 @@ jobs:
2626
java-version: '21'
2727
distribution: 'temurin'
2828
cache: maven
29-
- name: Set Release Version
30-
run: mvn versions:set -DnewVersion=$GITHUB_REF_NAME -DgenerateBackupPoms=false
29+
- name: Checkout tag
30+
run: git checkout ${{github.event.tag_name}}
3131
- name: Build with Maven
3232
run: mvn -B package --file pom.xml
3333

0 commit comments

Comments
 (0)