diff --git a/.github/workflows/build-and-deploy-javadoc.yml b/.github/workflows/build-and-deploy-javadoc.yml index 853c35f..676d7b2 100644 --- a/.github/workflows/build-and-deploy-javadoc.yml +++ b/.github/workflows/build-and-deploy-javadoc.yml @@ -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 @@ -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