From be8ffa29f6912948cf539e808f0048bfe85d67c2 Mon Sep 17 00:00:00 2001 From: Sergey Makarov Date: Mon, 9 Dec 2024 12:05:39 +0300 Subject: [PATCH] Update upload-artifact: v2 -> v4 Plus, add names to some artifacts, because now it's required to use unique names for artifacts within the same workflow. --- .github/workflows/blank.yml | 8 +++++--- .github/workflows/instumented_tests.yml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index a78caa1..7cc704a 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -42,14 +42,16 @@ jobs: run: ./gradlew fingerprint:assembleRelease - name: Save library to artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: + name: lib path: fingerprint/build/outputs/aar/* - name: Build App run: ./gradlew app:assembleRelease - name: Save application to artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - path: app/build/outputs/apk/release/* \ No newline at end of file + name: app + path: app/build/outputs/apk/release/* diff --git a/.github/workflows/instumented_tests.yml b/.github/workflows/instumented_tests.yml index 41e09c8..410331d 100644 --- a/.github/workflows/instumented_tests.yml +++ b/.github/workflows/instumented_tests.yml @@ -54,7 +54,7 @@ jobs: - name: Save report if tests failed if: always() && (steps.instrumented_tests.outcome == 'failure') - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ format('test_failed_report_{0}', matrix.test_config.description) }} path: |