File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
workflow_dispatch :
15
15
# Allow running manually
16
16
pull_request :
17
- types : [ labeled, synchronized ]
17
+ types : [ labeled, synchronize ]
18
18
jobs :
19
19
build :
20
20
if : ${{ !github.event.pull_request || contains(github.event.pull_request.labels.*.name, 'ready') }}
84
84
- name : Set up sonatype credentials
85
85
# Using the same java version as above, set up a settings.xml file
86
86
uses : actions/setup-java@v4
87
- if : ${{ github.event_name == 'schedule ' && github.repository_owner == 'gwtproject' && matrix.java-version == '21' }}
87
+ if : ${{ github.event_name == 'push' && github.ref_name == 'main ' && github.repository_owner == 'gwtproject' && matrix.java-version == '21' }}
88
88
with :
89
89
java-version : ${{ matrix.java-version }}
90
90
distribution : ' temurin'
94
94
server-password : SONATYPE_PASSWORD
95
95
96
96
- name : Nightly builds should be deployed as snapshots to sonatype
97
- if : ${{ github.event_name == 'schedule ' && github.repository_owner == 'gwtproject' && matrix.java-version == '21' }}
97
+ if : ${{ github.event_name == 'push' && github.ref_name == 'main ' && github.repository_owner == 'gwtproject' && matrix.java-version == '21' }}
98
98
env :
99
99
SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
100
100
SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
You can’t perform that action at this time.
0 commit comments