-
-
Notifications
You must be signed in to change notification settings - Fork 3
25 lines (23 loc) · 740 Bytes
/
Copy pathdeploy.yaml
File metadata and controls
25 lines (23 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Deploy
on: push
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Deploy with Gradle
run: ./gradlew publishToSonatype --no-daemon
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
SIGNING_KEY: ${{ secrets.SONATYPE_KEY }}
SIGNING_KEY_PASS: ${{ secrets.SONATYPE_KEY_PASS }}