Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ortex authored May 22, 2024
1 parent fda6df6 commit ff865ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ jobs:
fetch-depth: 0

- name: Setup Java
run: echo "JAVA_HOME=${{ env.JAVA_HOME_17_X64 || env.JAVA_HOME_17_ARM64 }}" >> $GITHUB_ENV
run: |
if [[ '${{ runner.arch }}' == 'X64' ]]; then
echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
else
echo "JAVA_HOME=$JAVA_HOME_17_arm64" >> $GITHUB_ENV
fi
- name: Install SDK
uses: malinskiy/action-android/install-sdk@release/0.1.4
Expand Down

0 comments on commit ff865ad

Please sign in to comment.