Skip to content

Commit 33ef4fb

Browse files
authored
Merge pull request #36 from cjmang/pr-update
Adding debugging to workflows
2 parents b215d9b + 5104087 commit 33ef4fb

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,16 @@ jobs:
3535
# The content here needs to be the values of the public and secret key pair
3636
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.gpgPublicKey }}
3737
JRELEASER_GPG_SECRET_KEY: ${{ secrets.gpgSecretKey }}
38-
run: ./gradlew jreleaserDeploy
38+
run: ./gradlew jreleaserDeploy
39+
- name: Store JReleaser Logs
40+
if: failure()
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: jreleaser
44+
path: build/jreleaser
45+
- name: Store Reports
46+
if: failure()
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: reports
50+
path: build/reports

.github/workflows/snapshot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,15 @@ jobs:
3131
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.gpgPublicKey }}
3232
JRELEASER_GPG_SECRET_KEY: ${{ secrets.gpgSecretKey }}
3333
run: ./gradlew jreleaserDeploy
34+
- name: Store JReleaser Logs
35+
if: failure()
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: jreleaser
39+
path: build/jreleaser
40+
- name: Store Reports
41+
if: failure()
42+
uses: actions/upload-artifact@v4
43+
with:
44+
name: reports
45+
path: build/reports

0 commit comments

Comments
 (0)