From 1690a76275c7cfa57c4e9ea693ee227bd6c2b7ec Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Fri, 31 Jan 2025 14:51:22 +0530 Subject: [PATCH] Bumped the `upload-artifact` action from version 3 to version 4. * The CI pipeline was failing due to the deprecated version of `upload-artifact` (v3). * Upgrading to version 4 resolves the deprecation error and ensures compatibility with the latest features and improvements. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pull_request.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae0dbaa7e..50eb577eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,7 @@ jobs: script: bash contrib/instrumentation.sh - name: Upload screenshot result - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: ${{ matrix.api-level }} @@ -107,7 +107,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Upload Coverage to GH-Actions - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ matrix.api-level==30 }} with: name: Tests Coverage Report diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index e38d666a0..64b346c8d 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -38,7 +38,7 @@ jobs: - name: Upload ktlint Reports if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ktlint-report path: '**/build/reports/ktlint' @@ -74,7 +74,7 @@ jobs: - name: Static Analysis run: ./gradlew detektDebug detektCustomExampleDebug - name: Upload Lint Reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: detekt-report @@ -112,7 +112,7 @@ jobs: run: ./gradlew app:lintDebug custom:lintCustomexampleDebug - name: Upload Lint Reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: lint-report @@ -141,7 +141,7 @@ jobs: run: ./gradlew assemble - name: Upload APK as Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: kiwix-android