File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,18 @@ jobs:
33
33
34
34
- name : Validate project
35
35
run : ./gradlew build -x test
36
+ env :
37
+ NVD_API_KEY : ${{ secrets.NVD_API_KEY }}
36
38
37
39
- name : Run full test suite
38
40
run : ./gradlew test
41
+ env :
42
+ NVD_API_KEY : ${{ secrets.NVD_API_KEY }}
39
43
40
44
- name : Verify package can be built
41
45
run : ./gradlew assemble
46
+ env :
47
+ NVD_API_KEY : ${{ secrets.NVD_API_KEY }}
42
48
43
49
release :
44
50
name : Create Release
@@ -160,13 +166,14 @@ jobs:
160
166
161
167
- name : Publish to Maven Central
162
168
run : |
163
- ./gradlew publishToSonatype closeSonatypeStagingRepository
169
+ ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
164
170
env :
165
171
SONATYPE_USERNAME : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
166
172
SONATYPE_PASSWORD : ${{ secrets.MAVEN_CENTRAL_TOKEN }}
167
173
SIGNING_KEY_ID : ${{ secrets.GPG_KEY_ID }}
168
174
SIGNING_PASSWORD : ${{ secrets.GPG_PASSPHRASE }}
169
175
SIGNING_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
176
+ NVD_API_KEY : ${{ secrets.NVD_API_KEY }}
170
177
171
178
publish-github-packages :
172
179
name : Publish to GitHub Packages
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ plugins {
15
15
}
16
16
17
17
group = " io.github.clojang"
18
- version = " 0.3.20 "
18
+ version = " 0.3.21 "
19
19
20
20
// Make version catalog values available via ext properties
21
21
ext {
You can’t perform that action at this time.
0 commit comments