diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2d3e95..1904ece 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,12 +29,19 @@ jobs: toolchain: stable override: true + - name: Install mingw-w64 for Windows target + if: matrix.target == 'x86_64-pc-windows-gnu' + run: sudo apt-get install mingw-w64 + + - name: Install musl-tools for Linux target + if: matrix.target == 'x86_64-unknown-linux-musl' + run: sudo apt-get install musl-tools + - name: Install target run: rustup target add ${{ matrix.target }} - name: Compile the app - run: | - cargo build --release --target ${{ matrix.target }} + run: cargo build --release --target ${{ matrix.target }} - name: Create tarball run: |