Skip to content

Commit ef98a36

Browse files
committed
check jreleaser output
1 parent 6249407 commit ef98a36

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/publish-snapshot.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish SDK Snapshot artifact
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, tp/test]
66

77
env:
88
CI: true
@@ -43,3 +43,19 @@ jobs:
4343

4444
- name: Deploy to Maven Central
4545
run: ./gradlew jreleaserDeploy
46+
47+
- name: Upload build artifacts and logs
48+
if: always()
49+
uses: actions/upload-artifact@v4
50+
with:
51+
name: build-logs-and-artifacts-${{ github.run_number }}
52+
path: |
53+
build/reports/problems/**
54+
eppo/build/reports/**
55+
**/build/reports/**
56+
build/jreleaser/**
57+
eppo/build/staging-deploy/**
58+
**/build/staging-deploy/**
59+
**/build/libs/**
60+
**/hs_err_pid*.log
61+
retention-days: 7

0 commit comments

Comments
 (0)