update github packages credentials
@@ -15,9 +15,10 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
+ server-id: github
+ server-username: opencb
+ server-password: GITHUB_TOKEN
- name: Deploy to GitHub packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
- echo "<settings><servers><server><id>github</id><username>opencb</username><password>${GITHUB_TOKEN}</password></server></servers></settings>" > ~/.m2/settings.xml
- mvn deploy -P deploy-github
+ run: mvn deploy -P deploy-github
