File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
# Build and test the code
11
11
build :
12
- # The type of runner that the job will run on
13
12
runs-on : ubuntu-latest
14
13
15
- # Steps represent a sequence of tasks that will be executed as part of the job
16
14
steps :
17
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
18
- - uses : actions/checkout@v3
15
+ - uses : actions/checkout@v4
19
16
20
- - uses : actions/setup-java@v3
17
+ - uses : actions/setup-java@v4
21
18
with :
22
19
distribution : temurin
23
20
java-version : 17
24
21
25
22
- name : Setup Gradle
26
- uses : gradle/gradle-build-action@v2
23
+ uses : gradle/gradle-build-action@v3
27
24
28
25
- name : Has SNAPSHOT version
29
26
id : is-snapshot
37
34
38
35
- name : Publish
39
36
env :
40
- OSSRH_USER : ${{ secrets.OSSRH_USER }}
41
- OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
37
+ OSSRH_USER : ${{ secrets.OSSRH_USER_TOKEN_ID }}
38
+ OSSRH_PASSWORD : ${{ secrets.OSSRH_USER_TOKEN_SECRET }}
42
39
run : ./gradlew -Psigning.gnupg.keyName=${{ secrets.OSSRH_GPG_SECRET_KEY_NAME }} -Psigning.gnupg.executable=gpg -Psigning.gnupg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} publish
You can’t perform that action at this time.
0 commit comments