Skip to content

Commit

Permalink
Update maven_jdk17.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hypfvieh committed Jun 29, 2023
1 parent beda7cf commit 0f57979
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/maven_jdk17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: maven
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Build with Maven
run: |
dbus-daemon --session --fork --address unix:path=/tmp/dbustest,guid=$(echo $RANDOM | md5sum | cut -d ' ' -f 1)
export DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbustest
mvn -B package --file pom.xml
mvn -B deploy --file pom.xml
env:
MAVEN_USERNAME: ${{ secrets.MVN_SNAPSHOT_USER }}
MAVEN_PASSWORD: ${{ secrets.MVN_SNAPSHOT_PW }}

0 comments on commit 0f57979

Please sign in to comment.