Skip to content

Commit 06fd22a

Browse files
committed
Updated git javadoc workflow
1 parent b6bcd0f commit 06fd22a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/javadoc.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
build:
99
if: startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/heads/development-')
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113

1214
steps:
1315
- name: Checkout code
@@ -28,8 +30,9 @@ jobs:
2830
- name: Check if Javadoc folder exists
2931
run: ls -al build/docs/javadoc
3032

31-
- name: Upload Javadoc
32-
uses: actions/upload-artifact@v2
33+
- name: Upload JavaDocs as an artifact
34+
uses: actions/upload-artifact@v4
3335
with:
34-
name: javadoc
35-
path: build/docs/javadoc
36+
name: javadoc-artifact
37+
path: build/docs/javadoc/
38+
if-no-files-found: warn

0 commit comments

Comments
 (0)