diff --git a/.github/workflows/gh-mvn-2.yml b/.github/workflows/gh-mvn-2.yml
index e5d59e34..a109a0ed 100644
--- a/.github/workflows/gh-mvn-2.yml
+++ b/.github/workflows/gh-mvn-2.yml
@@ -192,7 +192,12 @@ jobs:
" > ~/.m2/settings.xml
+ - name: Get version from pom.xml
+ id: get-version
+ run: echo "::set-output name=VERSION::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"
- name: Build and deploy
run: |
cd bound/kt
- mvn deploy -DskipTests=true
+ mvn deploy:deploy-file \
+ -Dfile=bound/kt/target/tbdex-core-${{ steps.get-version.outputs.VERSION }}.jar \
+ -DpomFile=bound/kt/pom.xml
diff --git a/bound/kt/pom.xml b/bound/kt/pom.xml
index ee7edcb7..a420186e 100644
--- a/bound/kt/pom.xml
+++ b/bound/kt/pom.xml
@@ -5,7 +5,7 @@
tbdex.sdk
tbdex-core
- 0.0.2
+ 0.0.3
jar