File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 9292 with :
9393 check_name : " JUnit Report"
9494 report_paths : " **/build/test-results/test/*.xml"
95+ # TODO add job to check if jrelease distribute would be working
96+ # eg using `JRELEASER_GITHUB_TOKEN=123 jreleaser -Djreleaser.project.version=0.1.0 publish --dry-run`
Original file line number Diff line number Diff line change 9191 uses : " actions/download-artifact@v4"
9292 with :
9393 # no name - download all artifacts
94- path : " build/collected-binaries"
94+ path : " app/ build/collected-binaries"
9595 - name : " Create release"
96- run : " ./gradlew -Prelease=true -PreleaseBinariesRootDir=build/collected-binaries changelogPush"
96+ run : " ./gradlew -Prelease=true -PreleaseBinariesRootDir=app/build/collected-binaries changelogPush"
97+ - name : " Publish distributions"
98+ uses : jreleaser/release-action@v2
99+ with :
100+ setup-java : false
101+ arguments : " publish"
102+ env :
103+ JRELEASER_PROJECT_VERSION : TODO
104+ JRELEASER_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
105+ JRELEASER_HOMEBREW_GITHUB_TOKEN : ${{ secrets.GH_PAT }}
106+ JRELEASER_CHOCOLATEY_GITHUB_TOKEN : ${{ secrets.GH_PAT }}
107+
108+ - name : " Persist jreleaser output"
109+ if : always()
110+ uses : actions/upload-artifact@v4
111+ with :
112+ name : jreleaser-release
113+ path : |
114+ out/jreleaser/trace.log
115+ out/jreleaser/output.properties
You can’t perform that action at this time.
0 commit comments