Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gazer2kanlin authored Jul 22, 2021
1 parent f8290e1 commit 716dea7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ jobs:
with:
java-version: '8'
distribution: 'adopt'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
server-id: my-github # Value of the distributionManagement/repository/id field of the pom.xml

- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package --file uia.comm/pom.xml

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
run: mvn deploy --file uia.comm/pom.xml
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.UIA4J_REPOS_DEPLOY }}

0 comments on commit 716dea7

Please sign in to comment.