Skip to content

Commit

Permalink
java deploy update sonatype token (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro100 authored Dec 3, 2024
1 parent f6002f7 commit 9be39e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_deploy_java_language_bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} # This is required to connect to the vault in our 1Password account.
MAVEN_GPG_PRIVATE_KEY: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/dkkfywvsr3xq6eyeubq6cldaxi/Private Key"
MAVEN_GPG_PASSPHRASE: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/dkkfywvsr3xq6eyeubq6cldaxi/password"
MAVEN_USERNAME: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/4o43n5uyr7zjog6u2y5i3fjzye/username"
MAVEN_PASSWORD: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/4o43n5uyr7zjog6u2y5i3fjzye/credential"

- name: Set up JDK
uses: actions/setup-java@v4
Expand All @@ -47,6 +49,6 @@ jobs:
run: mvn -B clean deploy -pl gbfs-java-model -P release
env:
MAVEN_GPG_PASSPHRASE: ${{ env.MAVEN_GPG_PASSPHRASE }}
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
MAVEN_USERNAME: ${{ env.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ env.MAVEN_PASSWORD }}

2 changes: 1 addition & 1 deletion models/java/gbfs-java-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.mobilitydata</groupId>
<artifactId>gbfs-java-model</artifactId>
<version>1.0.8</version>
<version>1.0.9</version>

<name>gbfs-java-model</name>

Expand Down

0 comments on commit 9be39e1

Please sign in to comment.