Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit da9986c

Browse files
committed
Set GitHub Credentials for Artifact Deployment
1 parent e0c7e8b commit da9986c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ jobs:
7676
~/.m2/repository
7777
key: maven-repo
7878

79+
- name: Add GitHub Server Credentials to Maven settings.xml
80+
uses: s4u/maven-settings-action@v2.4.0
81+
with:
82+
servers: '[{"id": "highmed-dsf", "username": "${{ github.actor }}", "password": "${{ secrets.GITHUB_TOKEN }}"}]'
83+
7984
- name: Build with Maven
8085
run: mvn -B deploy -DskipTests --file pom.xml
8186
env:

0 commit comments

Comments
 (0)