Skip to content

Commit

Permalink
Update upload-artifact: v2 -> v4
Browse files Browse the repository at this point in the history
Plus, add names to some artifacts, because now it's required to use unique names
for artifacts within the same workflow.
  • Loading branch information
Sergey-Makarov committed Dec 9, 2024
1 parent 1a9f9bb commit be8ffa2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
name: app
path: app/build/outputs/apk/release/*
2 changes: 1 addition & 1 deletion .github/workflows/instumented_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit be8ffa2

Please sign in to comment.