From 3286fb4eeaae2200c83b443d05925a987c8e3199 Mon Sep 17 00:00:00 2001 From: tripleee Date: Wed, 16 Oct 2024 19:54:25 +0300 Subject: [PATCH] Github Actions: upgrade to actions/upload-artifact@v4 v2 is no longer supported and has been causing tests to fail https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cb69340..a3b3a1f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,7 +133,7 @@ jobs: - name: Run tests run: bundle exec rails test --verbose - name: Upload Gemfile.lock - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: Gemfile.lock @@ -142,7 +142,7 @@ jobs: if: ${{ failure() }} run: git diff Gemfile.lock - name: Upload coverage data - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ success() }} with: name: coverage