Skip to content

Commit

Permalink
Use actions/upload-artifact@v4 on CI workflows (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Jan 29, 2025
1 parent b49ae8a commit 2037d43
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/smoke-tests-darwin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:
shell: bash

- name: Upload xcresult bundles
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: '${{ inputs.platform }} xcresult bundles (smoke tests)'
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/unit-tests-darwin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
shell: bash

- name: Upload xcresult bundles
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: '${{ inputs.platform }} xcresult bundles (unit tests)'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
flutter test --coverage --exclude-tags browser
- name: Upload coverage report
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
uses: actions/upload-artifact@v4
with:
name: auth0_flutter coverage
path: auth0_flutter/coverage/lcov.info
Expand All @@ -112,7 +112,7 @@ jobs:
run: flutter test --coverage

- name: Upload coverage report
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
uses: actions/upload-artifact@v4
with:
name: auth0_flutter_platform_interface coverage
path: auth0_flutter_platform_interface/coverage/lcov.info
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
run: bundle exec slather coverage -x --scheme Runner Runner.xcodeproj

- name: Upload coverage report
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
uses: actions/upload-artifact@v4
with:
name: iOS coverage
path: auth0_flutter/example/ios/cobertura
Expand Down Expand Up @@ -289,13 +289,13 @@ jobs:
run: ./gradlew koverXmlReportDebug

- name: Upload coverage report
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
uses: actions/upload-artifact@v4
with:
name: Android coverage
path: auth0_flutter/example/build/app/coverage.xml

- name: Upload test results
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Test results
Expand Down Expand Up @@ -392,14 +392,14 @@ jobs:
# USER_EMAIL=$USER_EMAIL USER_PASSWORD=$USER_PASSWORD node appium-test/test.js

# - name: Upload recording
# uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
# uses: actions/upload-artifact@v4
# if: ${{ failure() }}
# with:
# name: 'Android - smoke tests recording'
# path: recording_video.webm

# - name: Upload APK
# uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
# uses: actions/upload-artifact@v4
# if: ${{ failure() }}
# with:
# name: 'Android - APK'
Expand Down

0 comments on commit 2037d43

Please sign in to comment.