Skip to content

Commit ecafb6f

Browse files
fix: legger til settings.xml
1 parent 7f640cc commit ecafb6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-kontrakt.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
- name: Publish artifacts
3030
shell: bash
3131
run: |
32-
mvn deploy -e --batch-mode --file pom.xml -DtrimStackTrace=false -Dchangelist= -Dsha1= -Drevision=$NEW_VERSION -Dfile.encoding=UTF-8 -DdeployAtEnd=true
32+
mvn deploy -e --batch-mode --file pom.xml --settings .github/settings.xml -DtrimStackTrace=false -Dchangelist= -Dsha1= -Drevision=$NEW_VERSION -Dfile.encoding=UTF-8 -DdeployAtEnd=true -Dmaven.wagon.http.pool=false -Dtoken=${GITHUB_TOKEN}
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
3535
NEW_VERSION: ${{ github.event.release.tag_name }}
36+
GITHUB_USERNAME: x-access-token
37+
GITHUB_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)