Skip to content

Commit 83ab7ed

Browse files
committed
feat: jreleaser check action
1 parent 7fff8cc commit 83ab7ed

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# TODO: Delete this action when we migrate off JReleaser for all our releases
2+
3+
name: JReleaser check
4+
description: Smoke tests that checks our jreleaser release command works
5+
runs:
6+
using: composite
7+
steps:
8+
- name: Checkout repository
9+
uses: actions/checkout@v4
10+
11+
- name: Configure Gradle
12+
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
13+
14+
- name: Test jreleaserFullRelease
15+
shell: bash
16+
run: |
17+
JRELEASER_PROJECT_JAVA_GROUP_ID="com.sonatype.central.testing.amazon"
18+
JRELEASER_MAVENCENTRAL_STAGE="UPLOAD"
19+
20+
JRELEASER_MAVENCENTRAL_USERNAME="foobar"
21+
JRELEASER_MAVENCENTRAL_TOKEN="foobar"
22+
23+
JRELEASER_GENERIC_TOKEN="foobar"
24+
25+
JRELEASER_GPG_PASSPHRASE="foobar"
26+
JRELEASER_GPG_PUBLIC_KEY="foobar"
27+
JRELEASER_GPG_SECRET_KEY="foobar"
28+
29+
./gradlew jreleaserFullRelease --dryrun

0 commit comments

Comments
 (0)