Skip to content

Commit

Permalink
replace toolchain-rs, fixes #6 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeaconDesperado authored Dec 6, 2023
1 parent 5b41462 commit 580fedf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
with:
fetch-depth: 0
- name: Install target
uses: actions-rs/toolchain@v1
with:
toolchain: stable
uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build --verbose --release
- name: Await metastore container
Expand All @@ -48,10 +46,9 @@ jobs:
with:
fetch-depth: 0
- name: Install aarch64 target
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
target: aarch64-apple-darwin
toolchain: stable
targets: aarch64-apple-darwin
- name: Build
run: cargo build --verbose --release --target=aarch64-apple-darwin
- name: Archive binaries
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ jobs:
with:
fetch-depth: 0
- name: Install target
uses: actions-rs/toolchain@v1
with:
toolchain: stable
uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build --verbose --release
- name: Await metastore container
Expand All @@ -54,10 +52,9 @@ jobs:
with:
fetch-depth: 0
- name: Install aarch64 target
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
target: aarch64-apple-darwin
toolchain: stable
targets: aarch64-apple-darwin
- name: Build
run: cargo build --verbose --release --target=aarch64-apple-darwin
- name: Archive binaries
Expand All @@ -77,11 +74,7 @@ jobs:
with:
fetch-depth: 0
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

uses: dtolnay/rust-toolchain@stable
- run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
Expand Down

0 comments on commit 580fedf

Please sign in to comment.