diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 29f0f4f..2212015 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,10 +21,10 @@ jobs: cargo_command: cargo - os_name: linux-aarch64 - os: ubuntu-latest - target: aarch64-unknown-linux-musl + os: ubuntu-20.04 + target: aarch64-unknown-linux-gnu bin: johnny - name: johnny-linux-aarch64-musl.tar.gz + name: johnny-linux-aarch64-gnu.tar.gz cross: true cargo_command: cross @@ -58,14 +58,10 @@ jobs: - name: Setup Rust caching uses: Swatinem/rust-cache@v2 - - name: Install Cross + - name: Install cross run: cargo install cross --git https://github.com/cross-rs/cross if: ${{ matrix.platform.cross }} - - name: Install libssl-dev/musl-tools - run: sudo apt-get update -y && sudo apt-get install -y libssl-dev musl-tools - if: ${{ matrix.platform.cross }} - - name: Build binary (*nix) shell: bash run: ${{ matrix.platform.cargo_command }} build --release --target ${{ matrix.platform.target }} --no-default-features --features ${{ join(matrix.features, ',') }},${{ matrix.db }}${{ matrix.tui && ',tui' || '' }}