Skip to content

Commit 34c24e2

Browse files
committed
Revert, add -p arg
1 parent 3e37f95 commit 34c24e2

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.github/workflows/publish-javadoc.yml

+16-7
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,20 @@ jobs:
1010
publish:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Deploy JavaDoc 🚀
14-
uses: MathieuSoysal/Javadoc-publisher.yml@v2.4.0
13+
- name: Git checkout
14+
uses: actions/checkout@v4
15+
- name: Setup Java
16+
uses: actions/setup-java@v3.13.0
1517
with:
16-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17-
javadoc-branch: javadoc
18-
java-version: 17
19-
target-folder: javadoc
20-
project: gradle
18+
distribution: 'temurin'
19+
java-version: '17'
20+
cache: 'gradle'
21+
- name: Build Javadoc
22+
run: mkdir -p /github/workspace; mkdir -p /github/workspace/docs; ./gradlew javadoc
23+
shell: bash
24+
- name: Deploy Javadoc
25+
uses: JamesIves/github-pages-deploy-action@v4.4.3
26+
with:
27+
token: ${{ secrets.GITHUB_TOKEN }}
28+
branch: javadoc
29+
folder: quail/build/docs

0 commit comments

Comments
 (0)