Skip to content

Commit 16f12c3

Browse files
committed
Fix workflows
1 parent dd87b4b commit 16f12c3

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/publish-code-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
deploy-code-documentation:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2.3.1
14+
- uses: actions/checkout@v4.1.6
1515

1616
- name: Create documentation
1717
run: |
1818
./gradlew dokkaHtml
1919
git add -f dokka
2020
2121
- name: Deploy documentation
22-
uses: JamesIves/github-pages-deploy-action@4.0.0
22+
uses: JamesIves/github-pages-deploy-action@4.6.1
2323
with:
2424
branch: gh-pages
2525
folder: dokka

.github/workflows/publish-release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4.1.6
1313
- name: Set up JDK
14-
uses: actions/setup-java@v3.1.0
14+
uses: actions/setup-java@v4.2.1
1515
with:
1616
distribution: "temurin"
17-
java-version: 17
18-
cache: "gradle"
17+
java-version: 21
1918

2019
- name: Publish to Maven Central
21-
run: ./gradlew publish --stacktrace
20+
run: ./gradlew publishToSonatype closeAndReleaseStagingRepositories --stacktrace
2221
env:
2322
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
2423
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}

0 commit comments

Comments
 (0)