Skip to content

Commit

Permalink
change release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Milo123459 committed Apr 11, 2024
1 parent 37cb2f6 commit 280c3b5
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,24 +90,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
profile: minimal
override: true

- name: Build release binary
uses: actions-rs/cargo@v1
- name: Setup rust
uses: dtolnay/rust-toolchain@stable
with:
command: build
args: --release --locked --target ${{ matrix.target }}
use-cross: ${{ matrix.use-cross || matrix.os == 'ubuntu-latest' }}
targets: ${{ matrix.os }}

- run: cargo build --release --locked --target ${{ matrix.target }}

- name: Prepare binaries (zip) [Windows]
if: matrix.os == 'windows-latest'
Expand Down

0 comments on commit 280c3b5

Please sign in to comment.