Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maven authentication to GitHub packages
Browse files Browse the repository at this point in the history
Skaar, Bjørn-Andre committed Jan 11, 2024
1 parent 45a98e7 commit 376eda6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -40,6 +40,12 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup Maven authentication to GitHub packages
uses: s4u/maven-settings-action@v2.8.0
id: maven_settings
with:
servers: '[{"id": "github","configuration": {"httpHeaders": {"property": {"name": "Authorization","value": "Bearer ${{ secrets.GITHUB_TOKEN }}"}}}}]'

- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3

0 comments on commit 376eda6

Please sign in to comment.