Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit 1242974

Browse files
committed
Attempt to publish artifact
1 parent d613eec commit 1242974

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/gh-mvn-2.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,12 @@ jobs:
192192
</server>
193193
</servers>
194194
</settings>" > ~/.m2/settings.xml
195+
- name: Get version from pom.xml
196+
id: get-version
197+
run: echo "::set-output name=VERSION::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"
195198
- name: Build and deploy
196199
run: |
197200
cd bound/kt
198-
mvn deploy -DskipTests=true
201+
mvn deploy:deploy-file \
202+
-Dfile=bound/kt/target/tbdex-core-${{ steps.get-version.outputs.VERSION }}.jar \
203+
-DpomFile=bound/kt/pom.xml

bound/kt/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>tbdex.sdk</groupId>
77
<artifactId>tbdex-core</artifactId>
8-
<version>0.0.2</version>
8+
<version>0.0.3</version>
99
<packaging>jar</packaging>
1010

1111
<distributionManagement>

0 commit comments

Comments
 (0)