Skip to content

Commit

Permalink
fix(ci): release workflow - add rust-std component
Browse files Browse the repository at this point in the history
  • Loading branch information
elpiel committed Oct 21, 2024
1 parent e0c570b commit bce5084
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
# uses: actions/setup-java@v4
uses: actions/setup-java@v4
with:
java-version: "11"
distribution: "adopt"
- name: Setup Android SDK
# newer version of the 2 actions will cause a LinkageError
# Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
# java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli
# has been compiled by a more recent version of the Java Runtime (class file version 61.0),
# this version of the Java Runtime only recognizes class file versions up to 55.0
# uses: android-actions/setup-android@v3
uses: android-actions/setup-android@v2
- name: Setup Android NDK
run: yes | sdkmanager "ndk;21.4.7075529" >/dev/null
Expand All @@ -27,6 +34,7 @@ jobs:
with:
# Add armv7, aarch64, i686, x86_64 targets
targets: armv7-linux-androideabi, aarch64-linux-android, i686-linux-android, x86_64-linux-android
components: rust-std

- uses: Swatinem/rust-cache@v2

Expand Down

0 comments on commit bce5084

Please sign in to comment.