From 8bd5b2066162e8133d312b09fe905d7dc71c9cec Mon Sep 17 00:00:00 2001 From: Taz Khallaf <48331207+taz717@users.noreply.github.com> Date: Sat, 21 Sep 2024 14:04:35 -0600 Subject: [PATCH] 2024/09/21 | Update build_prod.yml GitHub deprecated versions v1 and v2 of the actions/upload-artifact action. To fix this, we update the workflow file to use the latest version (v3) of actions/upload-artifact https://github.com/reactjs/react.dev/issues/7148 --- .github/workflows/build_prod.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_prod.yml b/.github/workflows/build_prod.yml index f3c308b..cff4513 100644 --- a/.github/workflows/build_prod.yml +++ b/.github/workflows/build_prod.yml @@ -21,7 +21,7 @@ jobs: - run: rm dist/.nojekyll - run: mv dist/robots.prod.txt dist/robots.txt - name: Upload artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: dist path: dist/ @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifact - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: dist - name: Delete old files