mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
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:
parent
734638356f
commit
1690a76275
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
8
.github/workflows/pull_request.yml
vendored
8
.github/workflows/pull_request.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user