From 596016456c090cd620b7afb0ff66d2c61d109b0e Mon Sep 17 00:00:00 2001 From: Eng Zer Jun Date: Tue, 19 Nov 2024 00:07:59 +0800 Subject: [PATCH] feat: update CI's upload-artifact and download-artifact actions to v4 (#3361) v3 of `actions/upload-artifact` and `actions/download-artifact` will be fully deprecated by 5 December 2024. Jobs that are scheduled to run during the brownout periods will also fail. See [1][2]. [1]: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ [2]: https://github.blog/changelog/2024-11-05-notice-of-breaking-changes-for-github-actions/ Signed-off-by: Eng Zer Jun --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 793f6ecd..b1de2279 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -114,12 +114,12 @@ jobs: wait-on-timeout: 210 working-directory: ./web - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: cypress-screenshots path: ./web/cypress/screenshots - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: cypress-videos