diff --git a/.github/actions/prepare-assets/action.yml b/.github/actions/prepare-assets/action.yml index 0993970..aebd15e 100644 --- a/.github/actions/prepare-assets/action.yml +++ b/.github/actions/prepare-assets/action.yml @@ -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)