Skip to content

Commit

Permalink
chore: replace unmaintained github action
Browse files Browse the repository at this point in the history
  • Loading branch information
JoyceBabu committed Nov 26, 2024
1 parent 179bf71 commit 023002c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,17 @@ jobs:
- uses: actions/checkout@v2

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

- name: Install Cross
run: cargo install cross

- name: Build Binary
uses: actions-rs/cargo@v1
with:
use-cross: ${{ matrix.cross }}
command: build
args: --target ${{ matrix.os }} --release
run: cross build --profile release --target ${{ matrix.os }}

- name: Save Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 023002c

Please sign in to comment.