Skip to content

Commit 60d792b

Browse files
committed
add test to get tag during build time
1 parent 9d1d69a commit 60d792b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/gradle-build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,18 @@ jobs:
5050
**/gradle/**
5151
Scripts/**
5252
53+
tag_Test:
54+
runs-on: ubuntu-latest
55+
env:
56+
RELEASE_TAG: ""
57+
steps:
58+
- uses: actions/checkout@v2
59+
- name: Get version
60+
run: .\scripts\getLatestVersion.ps1 -propertiesPath $env:ENCODED_VALUE
61+
shell: pwsh
62+
env:
63+
PROPERTIES_PATH: '.\gradle.properties'
64+
- name: Test Print
65+
run: echo $RELEASE_TAG
5366

5467

0 commit comments

Comments
 (0)