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

Commit 625d9c1

Browse files
committed
Attempt to publish artifact
1 parent 1242974 commit 625d9c1

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

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

+6-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
- kendall/github-mvn-repo
8-
pull_request:
98

109
jobs:
1110
build_aarch64_apple_darwin:
@@ -194,10 +193,12 @@ jobs:
194193
</settings>" > ~/.m2/settings.xml
195194
- name: Get version from pom.xml
196195
id: get-version
197-
run: echo "::set-output name=VERSION::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"
198-
- name: Build and deploy
196+
run: echo "VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
197+
- name: Deploy artifact
199198
run: |
200199
cd bound/kt
201200
mvn deploy:deploy-file \
202-
-Dfile=bound/kt/target/tbdex-core-${{ steps.get-version.outputs.VERSION }}.jar \
203-
-DpomFile=bound/kt/pom.xml
201+
-Dfile=target/tbdex-core-${{ env.VERSION }}.jar \
202+
-DpomFile=pom.xml \
203+
-DrepositoryId=github \
204+
-Durl=https://maven.pkg.github.com/TBD54566975/tbdex-rs

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.3</version>
8+
<version>0.0.4</version>
99
<packaging>jar</packaging>
1010

1111
<distributionManagement>

0 commit comments

Comments
 (0)