Skip to content

Commit

Permalink
clean target dir after clippy in package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Jan 2, 2025
1 parent 9c6b84b commit 64da476
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64da476

Please sign in to comment.