File tree 1 file changed +17
-9
lines changed
1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change 10
10
- ' [3-9]+.[3-9]+.x'
11
11
workflow_dispatch :
12
12
jobs :
13
- build :
13
+ skip_check :
14
+ runs-on : ubuntu-latest
14
15
outputs :
15
16
found_skip_publish : ${{ steps.check_prevent_property.outputs.value }}
16
17
permissions :
17
- contents : read # to fetch code (actions/checkout)
18
- strategy :
19
- matrix :
20
- java : [17, 21, 23]
21
- os : [ubuntu-latest, windows-latest, macos-latest]
22
- runs-on : ${{ matrix.os }}
18
+ contents : read
23
19
steps :
24
20
- name : " 📥 Checkout repository"
25
21
uses : actions/checkout@v4
31
27
else
32
28
echo "value=false" >> $GITHUB_OUTPUT
33
29
fi
30
+ build :
31
+ needs : skip_check
32
+ permissions :
33
+ contents : read # to fetch code (actions/checkout)
34
+ strategy :
35
+ matrix :
36
+ java : [17, 21, 23]
37
+ os : [ubuntu-latest, windows-latest, macos-latest]
38
+ runs-on : ${{ matrix.os }}
39
+ steps :
40
+ - name : " 📥 Checkout repository"
41
+ uses : actions/checkout@v4
34
42
- name : " ☕️ Setup JDK"
35
43
uses : actions/setup-java@v4
36
44
with :
47
55
DEVELOCITY_BUILD_CACHE_NODE_KEY : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
48
56
run : ./gradlew build assemble groovydoc
49
57
publish :
50
- if : github.event_name == 'push' && needs.build .outputs.found_skip_publish != 'true'
58
+ if : github.event_name == 'push' && needs.skip_check .outputs.found_skip_publish != 'true'
51
59
needs : build
52
60
permissions :
53
61
contents : read # limit to read access
76
84
-Dorg.gradle.internal.publish.checksums.insecure=true
77
85
publish
78
86
docs :
79
- if : github.event_name == 'push' && needs.build .outputs.found_skip_publish != 'true'
87
+ if : github.event_name == 'push' && needs.skip_check .outputs.found_skip_publish != 'true'
80
88
needs : publish
81
89
runs-on : ubuntu-latest
82
90
permissions :
You can’t perform that action at this time.
0 commit comments