Skip to content

Commit

Permalink
ci: Tweak AVD target
Browse files Browse the repository at this point in the history
  • Loading branch information
devinbileck committed Feb 10, 2024
1 parent 117f2b6 commit ceda814
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/get-avd-info/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ runs:
steps:
# Prefer ATD system images available in API 30+ as they are optimized for headless automated tests
# Otherwise use the google_apis system image since Google Play Services is required
# Though for some reason API 27 does not provide a google_apis system image and
# API 34 does not yet provide a google_atd system image
# API 27 does not provide a google_apis system image and API 34 does not yet provide a
# google_atd system image
- id: get-avd-target
run: echo "target=$(if [ ${{ inputs.api-level }} -eq 34 ] || [ ${{ inputs.api-level }} -eq 27 ]; then echo default; elif [ ${{ inputs.api-level }} -ge 30 ]; then echo google_atd; else echo google_apis; fi)" >> $GITHUB_OUTPUT
run: echo "target=$(if [ ${{ inputs.api-level }} -eq 34 ]; then echo google_apis; elif [ ${{ inputs.api-level }} -eq 27 ]; then echo default; elif [ ${{ inputs.api-level }} -ge 30 ]; then echo google_atd; else echo google_apis; fi)" >> $GITHUB_OUTPUT
shell: bash
# Prefer x86_64 architecture
- id: get-avd-arch
Expand Down

0 comments on commit ceda814

Please sign in to comment.