1818    #  The steps of a composite action are not clearly divided in the GitHub
1919    #  UI, so use a single step with ::group:: markers instead.
2020    - shell : bash 
21+       env :
22+         - triplet : ${{ inputs.triplet }} 
2123      run : | 
2224        echo "::group::Configure build Python" 
2325        ./Android/android.py configure-build 
@@ -28,18 +30,18 @@ runs:
2830        echo "::endgroup::" 
2931
3032        echo "::group::Configure host Python" 
31-         ./Android/android.py configure-host ${{ inputs. triplet }}  
33+         ./Android/android.py configure-host $triplet 
3234        echo "::endgroup::" 
3335
3436        echo "::group::Compile host Python" 
35-         ./Android/android.py make-host ${{ inputs. triplet }}  
37+         ./Android/android.py make-host $triplet 
3638        echo "::endgroup::" 
3739
3840        echo "::group::Make release package" 
39-         ./Android/android.py package ${{ inputs. triplet }}  
41+         ./Android/android.py package $triplet 
4042        echo "::endgroup::" 
4143
42-         if [ "$RUNNER_OS" = "Linux" ] && [ "$RUNNER_ARCH" = "X64"]; then 
44+         if [ "$RUNNER_OS" = "Linux" ] && [ "$RUNNER_ARCH" = "X64"  ]; then 
4345            # https://github.blog/changelog/2024-04-02-github-actions-hardware-accelerated-android-virtualization-now-available/ 
4446            echo "::group::Enable KVM for Android emulator" 
4547            echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' \ 
5052
5153            echo "::group::Unpack release artifact" 
5254            mkdir $RUNNER_TEMP/android 
53-             tar -C $RUNNER_TEMP/android -xf cross-build/${{ inputs. triplet }} /dist/* 
55+             tar -C $RUNNER_TEMP/android -xf cross-build/$triplet/dist/* 
5456            echo "::endgroup::" 
5557
5658            echo "::group::Tests" 
0 commit comments