Skip to content

Commit

Permalink
Bumped the upload-artifact action from version 3 to version 4.
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
MohitMaliDeveloper committed Jan 31, 2025
1 parent 7346383 commit 1690a76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1690a76

Please sign in to comment.