diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 1db82516..cb95675a 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -73,18 +73,20 @@ jobs: targets: ${{ matrix.target }} - name: Clippy (release mode) - run: cargo clippy --release -- -D warnings + run: | + cargo clippy --release -- -D warnings + cargo clean - # - name: Install Cross - # if: matrix.os == 'ubuntu' - # run: cargo install cross --git https://github.com/cross-rs/cross + - name: Install Cross + if: matrix.os == 'ubuntu' + run: cargo install cross --git https://github.com/cross-rs/cross - # - name: Build binary - # if: matrix.os == 'ubuntu' - # run: cross build --release --target ${{ matrix.target }} + - name: Build binary + if: matrix.os == 'ubuntu' + run: cross build --release --target ${{ matrix.target }} - name: Build binary - # if: matrix.os == 'macos' || matrix.os == 'windows' + if: matrix.os == 'macos' || matrix.os == 'windows' run: cargo build --release --target ${{ matrix.target }} - name: Upload build artifacts