Skip to content

Commit

Permalink
Maybe fix test pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
italankin committed Aug 22, 2024
1 parent e12df5c commit e1209de
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: set up jdk
uses: actions/setup-java@v1
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: 1.11
distribution: 'zulu'
java-version: '17'

- name: decode keystore
uses: italankin/android-keystore-decode-action@v1
Expand Down Expand Up @@ -48,7 +49,7 @@ jobs:
mv "$AAB_OUTPUT_PATH/app-release.aab" "$AAB_OUTPUT_PATH/15-puzzle-${{ steps.current_tag.outputs.tag }}.aab"
- name: create release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@v1.12.0
with:
artifacts: "${{ env.APK_OUTPUT_PATH }}/*.apk"
prerelease: true
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: set up jdk
uses: actions/setup-java@v1
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: 1.11
distribution: 'zulu'
java-version: '17'

- name: make gradlew executable
run: chmod +x gradlew
Expand All @@ -40,16 +41,17 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: set up jdk
uses: actions/setup-java@v1
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: 1.11
distribution: 'zulu'
java-version: '17'

- name: make gradlew executable
run: chmod +x gradlew

- name: run ui tests
uses: reactivecircus/android-emulator-runner@v2.24.0
uses: reactivecircus/android-emulator-runner@v2.32.0
with:
api-level: 29
script: ./gradlew :app:connectedDebugAndroidTest
Expand Down

0 comments on commit e1209de

Please sign in to comment.