Skip to content

Commit

Permalink
Finish refactoring Javadoc workflow to upload artifacts instead of ca…
Browse files Browse the repository at this point in the history
…ching
  • Loading branch information
SableRaf committed Dec 11, 2024
1 parent e3d8e02 commit 9cc2925
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/build-and-deploy-javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,16 @@ jobs:
- name: Add .nojekyll file
run: echo > processing4/build/javadoc/.nojekyll

- name: Cache Javadocs
uses: actions/cache@v4
- name: Upload Javadocs artifact for Deployment
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: processing4/build/javadoc
key: javadocs-${{ env.COMMIT_SHA }}
restore-keys: |
javadocs-

- name: Upload Javadocs artifact
uses: actions/upload-pages-artifact@v3
- name: Upload Javadocs artifact for Commit
uses: actions/upload-artifact@v3
with:
name: github-pages
name: javadocs
path: processing4/build/javadoc

- name: Clean up the processing4 directory
Expand Down Expand Up @@ -135,9 +133,10 @@ jobs:
with:
fetch-depth: 0

- name: Download artifact
uses: actions/download-pages-artifact@v3
- name: Download Javadocs artifact
uses: actions/download-artifact@v4
with:
name: javadocs
path: processing4/build/javadoc

- name: Configure Git
Expand Down

0 comments on commit 9cc2925

Please sign in to comment.