Skip to content

Commit 6d5516c

Browse files
committed
Bump version to 0.3.21 and update release workflow for NVD API key integration
1 parent b05d904 commit 6d5516c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,18 @@ jobs:
3333

3434
- name: Validate project
3535
run: ./gradlew build -x test
36+
env:
37+
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
3638

3739
- name: Run full test suite
3840
run: ./gradlew test
41+
env:
42+
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
3943

4044
- name: Verify package can be built
4145
run: ./gradlew assemble
46+
env:
47+
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
4248

4349
release:
4450
name: Create Release
@@ -160,13 +166,14 @@ jobs:
160166
161167
- name: Publish to Maven Central
162168
run: |
163-
./gradlew publishToSonatype closeSonatypeStagingRepository
169+
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
164170
env:
165171
SONATYPE_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
166172
SONATYPE_PASSWORD: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
167173
SIGNING_KEY_ID: ${{ secrets.GPG_KEY_ID }}
168174
SIGNING_PASSWORD: ${{ secrets.GPG_PASSPHRASE }}
169175
SIGNING_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
176+
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
170177

171178
publish-github-packages:
172179
name: Publish to GitHub Packages

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ plugins {
1515
}
1616

1717
group = "io.github.clojang"
18-
version = "0.3.20"
18+
version = "0.3.21"
1919

2020
// Make version catalog values available via ext properties
2121
ext {

0 commit comments

Comments
 (0)