From df6a003556f4fd14e539fae590d401337d6d9c18 Mon Sep 17 00:00:00 2001 From: raphaelrobert Date: Mon, 21 Oct 2024 16:45:51 +0200 Subject: [PATCH] Fix upload action --- .github/workflows/archive.yml | 2 +- .github/workflows/ghpages.yml | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/archive.yml b/.github/workflows/archive.yml index 6aa2c09..3fca351 100644 --- a/.github/workflows/archive.yml +++ b/.github/workflows/archive.yml @@ -29,6 +29,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: "Save Archive" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: archive.json diff --git a/.github/workflows/ghpages.yml b/.github/workflows/ghpages.yml index 342f9d6..88ddf7e 100644 --- a/.github/workflows/ghpages.yml +++ b/.github/workflows/ghpages.yml @@ -49,12 +49,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: "Save HTML" - uses: actions/upload-artifact@v2 + - name: "Archive Built Drafts" + uses: actions/upload-artifact@v4 with: - path: "*.html" - - - name: "Save Text" - uses: actions/upload-artifact@v2 - with: - path: "*.txt" + path: | + draft-*.html + draft-*.txt