File tree Expand file tree Collapse file tree
cloud-processors-confirmation
cloud-processors-cooldown
cloud-processors-requirements Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 tags-ignore : [ "**" ]
66 pull_request :
77 release :
8- types : [ released ]
8+ types : [ published ]
99jobs :
1010 build :
1111 # Only run on PRs if the source branch is on someone else's repo
3131 - name : Determine Status
3232 run : |
3333 if [ "$(./gradlew properties | awk '/^version:/ { print $2; }' | grep '\-SNAPSHOT')" ]; then
34- echo "STATUS=snapshot" >> $GITHUB_ENV
34+ echo "STATUS=snapshot" >> $GITHUB_ENV
3535 else
36- echo "STATUS=release" >> $GITHUB_ENV
36+ echo "STATUS=release" >> $GITHUB_ENV
3737 fi
3838 - name : Publish Snapshot
3939 if : " ${{ env.STATUS != 'release' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}"
4949 ORG_GRADLE_PROJECT_sonatypePassword : " ${{ secrets.SONATYPE_PASSWORD }}"
5050 ORG_GRADLE_PROJECT_signingKey : " ${{ secrets.SIGNING_KEY }}"
5151 ORG_GRADLE_PROJECT_signingPassword : " ${{ secrets.SIGNING_PASSWORD }}"
52+ event_file :
53+ name : " Event File"
54+ # Only run on PRs if the source branch is on someone else's repo
55+ if : ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
56+ runs-on : ubuntu-latest
57+ steps :
58+ - name : Upload
59+ uses : actions/upload-artifact@v4
60+ with :
61+ name : Event File
62+ path : ${{ github.event_path }}
Original file line number Diff line number Diff line change 1+ name : Test Results
2+
3+ on :
4+ workflow_run :
5+ workflows : [ "Build cloud-processors" ]
6+ types :
7+ - completed
8+ permissions : { }
9+
10+ jobs :
11+ test-results :
12+ name : Test Results
13+ runs-on : ubuntu-latest
14+ if : github.event.workflow_run.conclusion != 'skipped'
15+ permissions :
16+ checks : write
17+ # needed unless run with comment_mode: off
18+ pull-requests : write
19+ # required by download step to access artifacts API
20+ actions : read
21+ steps :
22+ - name : Download and Extract Artifacts
23+ uses : dawidd6/action-download-artifact@v3
24+ with :
25+ run_id : ${{ github.event.workflow_run.id }}
26+ path : artifacts
27+ - name : Publish Test Results
28+ uses : EnricoMi/publish-unit-test-result-action@v2
29+ with :
30+ commit : ${{ github.event.workflow_run.head_sha }}
31+ event_file : artifacts/Event File/event.json
32+ event_name : ${{ github.event.workflow_run.event }}
33+ files : " artifacts/**/*.xml"
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Postprocessor that adds the ability to require an extra confirmation before exec
77Snapshots are available on the Sonatype Snapshots Repository:
88
99``` xml
10+ <!-- For snapshot releases -->
1011<repository >
1112 <id >sonatype-snapshots</id >
1213 <url >https://oss.sonatype.org/content/repositories/snapshots/</url >
@@ -15,7 +16,7 @@ Snapshots are available on the Sonatype Snapshots Repository:
1516<dependency >
1617 <groupId >org.incendo</groupId >
1718 <artifactId >cloud-processors-confirmation</artifactId >
18- <version >1.0.0-SNAPSHOT </version >
19+ <version >1.0.0-beta.1 </version >
1920</dependency >
2021```
2122
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Postprocessor that adds command cooldowns.
77Snapshots are available on the Sonatype Snapshots Repository:
88
99``` xml
10+ <!-- For snapshot releases -->
1011<repository >
1112 <id >sonatype-snapshots</id >
1213 <url >https://oss.sonatype.org/content/repositories/snapshots/</url >
@@ -15,7 +16,7 @@ Snapshots are available on the Sonatype Snapshots Repository:
1516<dependency >
1617 <groupId >org.incendo</groupId >
1718 <artifactId >cloud-processors-cooldown</artifactId >
18- <version >1.0.0-SNAPSHOT </version >
19+ <version >1.0.0-beta.1 </version >
1920</dependency >
2021```
2122
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ are defined on a per-command basis.
1111Snapshots are available on the Sonatype Snapshots Repository:
1212
1313``` xml
14+ <!-- For snapshot releases -->
1415<repository >
1516 <id >sonatype-snapshots</id >
1617 <url >https://oss.sonatype.org/content/repositories/snapshots/</url >
@@ -19,7 +20,7 @@ Snapshots are available on the Sonatype Snapshots Repository:
1920<dependency >
2021 <groupId >org.incendo</groupId >
2122 <artifactId >cloud-processors-requirements</artifactId >
22- <version >1.0.0-SNAPSHOT </version >
23+ <version >1.0.0-beta.1 </version >
2324</dependency >
2425```
2526
Original file line number Diff line number Diff line change 11group =org.incendo
2- version =1.0.0-SNAPSHOT
2+ version =1.0.0-beta.1
33description =cloud-processors
44
55org.gradle.caching =true
You can’t perform that action at this time.
0 commit comments