Skip to content

Commit

Permalink
Update actions/ to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
VicDominguez committed May 16, 2024
1 parent 6bf1683 commit 00dace5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/dominguez.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup build tool version variable
shell: bash
run: |
BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
echo Last build tool version is: $BUILD_TOOL_VERSION
- name: Set up JDK
uses: actions/setup-java@v3
Expand All @@ -34,13 +41,13 @@ jobs:
#path app/build/outputs/apk/debug/app-debug.apk

- name: Upload Reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: test-reports
path: app/build/reports

- name: Upload APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: app/build/outputs/apk/debug/app-debug.apk
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup build tool version variable
shell: bash
Expand All @@ -40,7 +40,7 @@ jobs:
run: ./gradlew check

- name: Upload Reports if not tag
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(github.ref, 'refs/tags/') == false
with:
name: test-reports
Expand Down

0 comments on commit 00dace5

Please sign in to comment.