Skip to content

Commit

Permalink
Fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauriichan committed Oct 23, 2020
1 parent 9f58f08 commit b65e7f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
java-version: 1.8
settings-path: ${{ github.workspace }} # location for the settings.xml file
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
server-username: ${{ secrets.MAVEN_USER }}
server-password: ${{ secrets.MAVEN_PASSWORD }}

- name: Build with Maven
run: mvn -B package -P ossrh
Expand All @@ -36,7 +36,7 @@ jobs:
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}

- name: Publish to GitHub Packages Apache Maven
run: mvn --batch-mode -s $GITHUB_WORKSPACE/settings.xml deploy -P ossrh -Dmaven.test.skip -Dmaven.main.skip -Dmaven.install.skip -Dgpg.passphrase=$GPG_PASSPHRASE
run: mvn --batch-mode -s $GITHUB_WORKSPACE/.m2/settings.xml deploy -P ossrh -Dmaven.test.skip -Dmaven.main.skip -Dmaven.install.skip -Dgpg.passphrase=$GPG_PASSPHRASE
env:
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
Expand Down
11 changes: 0 additions & 11 deletions settings.xml

This file was deleted.

0 comments on commit b65e7f7

Please sign in to comment.