Skip to content

Commit

Permalink
Updated Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed Sep 30, 2023
1 parent 3452a40 commit 77ceceb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,30 @@ jobs:

steps:
- name: Checkout source repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
clean: true
submodules: 'true'
fetch-depth: 0

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'corretto'
java-version: 17

- name: Build Javadocs
run: ./bld download clean compile javadoc
run: ./bld clean download clean compile javadoc

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
# Upload generated Javadocs repository
path: 'build/javadoc/'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v2

0 comments on commit 77ceceb

Please sign in to comment.