Skip to content

Commit e42d18e

Browse files
committed
Auto-publish version
1 parent 39adaad commit e42d18e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,17 @@ jobs:
2727
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
2828
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
2929

30+
- name: Read version from gradle.properties
31+
id: read_version
32+
uses: christian-draeger/[email protected]
33+
with:
34+
path: './gradle.properties'
35+
property: 'VERSION_NAME'
36+
37+
- name: Create Release
38+
uses: touchlab/[email protected]
39+
with:
40+
tag: ${{ steps.read_version.outputs.value }}
41+
3042
env:
3143
GRADLE_OPTS: -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"

0 commit comments

Comments
 (0)