Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/actions/prepare-assets/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ runs:
steps:
- name: Resolve architecture
shell: bash
env:
INPUT_ARCH: ${{ inputs.arch }}
run: |
case "${{ inputs.arch }}" in
case "$INPUT_ARCH" in
aarch64) echo "TERMUX_ARCH=aarch64" >> "$GITHUB_ENV" ;;
armv7) echo "TERMUX_ARCH=arm" >> "$GITHUB_ENV" ;;
*) echo "::error::unsupported arch '${{ inputs.arch }}' (aarch64 or armv7)"; exit 1 ;;
*) echo "::error::unsupported arch '$INPUT_ARCH' (aarch64 or armv7)"; exit 1 ;;
esac
echo "KYANITE_ARCH=${{ inputs.arch }}" >> "$GITHUB_ENV"
echo "KYANITE_ARCH=$INPUT_ARCH" >> "$GITHUB_ENV"
- shell: bash
run: sudo apt-get update -qq && sudo apt-get install -y -qq patchelf binutils xz-utils cpio zstd kmod curl openssl
- name: proot (termux/proot fork, from the Termux repo)
Expand Down
Loading