Skip to content

Commit

Permalink
update SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
johan12345 committed May 12, 2024
1 parent b9c08a8 commit cc770b4
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
api-level: 34
display_size: 1080x2336 # subtracted the 64px bottom navigation bar
type: phone
- profile: Pixel Tablet
- profile: pixel_tablet
api-level: 34
display_size: 2560x1488 # subtracted the 64px navigation bar and 48px status bar
type: tenInch
Expand All @@ -38,6 +38,19 @@ jobs:
mkdir ~/.config/.android
echo $DEBUG_KEYSTORE_BASE64 | base64 --decode > ~/.config/.android/debug.keystore
- name: Set up Java environment
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
cache: 'gradle'

- name: Setup Android SDK
run: |
sdkmanager --install "cmdline-tools;12.0"
ls $ANDROID_HOME/cmdline-tools
sdkmanager --version
- name: AVD cache
uses: actions/cache@v3
id: avd-cache
Expand All @@ -62,13 +75,6 @@ jobs:
disable-animations: true
script: echo "Generated AVD snapshot for caching."

- name: Set up Java environment
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
cache: 'gradle'

- name: Build app
run: ./gradlew assembleGoogleNormalDebug assembleGoogleNormalAndroidTest
env:
Expand Down

0 comments on commit cc770b4

Please sign in to comment.