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.
This commit is contained in:
MohitMaliFtechiz 2025-01-31 14:51:22 +05:30
parent 734638356f
commit 1690a76275
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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