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

Commit

Permalink
Attempt to publish artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallWeihe committed Jul 22, 2024
1 parent d613eec commit 1242974
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/gh-mvn-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,12 @@ jobs:
</server>
</servers>
</settings>" > ~/.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
2 changes: 1 addition & 1 deletion bound/kt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>tbdex.sdk</groupId>
<artifactId>tbdex-core</artifactId>
<version>0.0.2</version>
<version>0.0.3</version>
<packaging>jar</packaging>

<distributionManagement>
Expand Down

0 comments on commit 1242974

Please sign in to comment.