We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4136ade commit e7125adCopy full SHA for e7125ad
.github/workflows/release-kontrakt.yaml
@@ -18,11 +18,15 @@ jobs:
18
distribution: 'temurin'
19
java-version: '21'
20
cache: 'maven'
21
+ - name: Build artifacts
22
+ run: mvn clean install -DskipTests --settings ./.github/.m2/settings.xml --file pom.xml
23
+ env:
24
+ GH_ACCESS_TOKEN: ${{ secrets.READER_TOKEN }}
25
- name: Publish artifacts
26
shell: bash
27
run: |
28
mvn deploy -e --batch-mode --settings ./.github/.m2/settings.xml --file pom.xml -am -pl kontrakt -DtrimStackTrace=false -Dchangelist= -Dsha1= -Drevision=$NEW_VERSION -Dfile.encoding=UTF-8 -DdeployAtEnd=true
29
env:
30
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- GH_ACCESS_TOKEN: ${{ secrets.READER_TOKEN }}
31
+ GH_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
NEW_VERSION: ${{ github.event.release.tag_name }}
0 commit comments