Skip to content

Commit 7a4fb58

Browse files
committed
Using Windows shell for CI TagVersion
1 parent 3b222bc commit 7a4fb58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
${{ runner.os }}-maven-
2020
- name: Ensure to use tagged version
2121
if: startsWith(github.ref, 'refs/tags/')
22-
run: mvn versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
22+
shell: bash
23+
run: |
24+
mvn versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
2325
- name: Build and Test
2426
id: buildAndTest
2527
run: mvn -B clean install -Pdependency-check

0 commit comments

Comments
 (0)