Skip to content

Commit

Permalink
Upgrade github action from v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Feb 4, 2025
1 parent 73a0ec7 commit a861b77
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Assemble ${{ matrix.target }} debug apk
run: ./gradlew assemble${{ matrix.target }}Debug $CI_GRADLE_ARG_PROPERTIES
- name: Upload ${{ matrix.target }} debug APKs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: vector-${{ matrix.target }}-debug
path: |
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Assemble GPlay unsigned apk
run: ./gradlew clean assembleGplayRelease $CI_GRADLE_ARG_PROPERTIES
- name: Upload Gplay unsigned APKs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: vector-gplay-release-unsigned
path: |
Expand All @@ -81,7 +81,7 @@ jobs:
steps:
- name: Obtain apk from artifact
id: download
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: vector-gplay-release-unsigned
- name: Show apks in artifact
Expand All @@ -92,7 +92,7 @@ jobs:
# Don't fail when finding trackers so they can be reported later
args: /github/workspace/gplay/release/vector-gplay-universal-release-unsigned.apk -j -o /github/workspace/exodus.json -e 0
- name: Upload exodus json report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: exodus.json
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
adb logcat >> emulator.log &
./gradlew $CI_GRADLE_ARG_PROPERTIES connectedGplayDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=im.vector.app.ui.UiAllScreensSanityTest || (adb pull storage/emulated/0/Pictures/failure_screenshots && exit 1 )
- name: Upload Test Report Log
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: uitest-error-results
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
./gradlew vector-app:lintFdroidRelease $CI_GRADLE_ARG_PROPERTIES
- name: Upload reports
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linting-report
path: |
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
run: ./gradlew dependencyCheckAnalyze $CI_GRADLE_ARG_PROPERTIES
- name: Upload dependency analysis
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dependency-analysis
path: build/reports/dependency-check-report.html
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Archive Screenshot Results on Error
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: screenshot-results
path: |
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
### ./gradlew generateCoverageReport $CI_GRADLE_ARG_PROPERTIES

- name: Upload Integration Test Report Log
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: integration-test-error-results
Expand Down

0 comments on commit a861b77

Please sign in to comment.