From 991af64a5c8778993efbd8b11b36413d52ff6ac4 Mon Sep 17 00:00:00 2001 From: weaponsforge Date: Fri, 4 Oct 2024 05:27:32 +0800 Subject: [PATCH] fix: use actions artifact upload/download v4, #140 --- .github/workflows/deploy-dev.yml | 5 +++-- .github/workflows/release.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 38050a8..38950c0 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -44,9 +44,10 @@ jobs: npm run export mv out/404/index.html out/404.html - name: Archive Development Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dev-out + include-hidden-files: true path: | client/out client/.firebaserc @@ -75,7 +76,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dev-out - name: Deploy to Firebase diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90d2173..452fc06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,9 +53,10 @@ jobs: touch out/.nojekyll - name: Archive Development Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: main-out + include-hidden-files: true path: client/out retention-days: 3 @@ -83,7 +84,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: main-out