diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aefe81b..6e49c9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v4 with: lfs: ${{ env.use_git_lfs }} - - uses: dtolnay/rust-toolchain@stable + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: targets: wasm32-unknown-unknown - name: install wasm-bindgen-cli @@ -75,7 +75,7 @@ jobs: - uses: actions/checkout@v4 with: lfs: ${{ env.use_git_lfs }} - - uses: dtolnay/rust-toolchain@stable + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: targets: x86_64-unknown-linux-gnu - name: install dependencies @@ -124,7 +124,7 @@ jobs: - uses: actions/checkout@v4 with: lfs: ${{ env.use_git_lfs }} - - uses: dtolnay/rust-toolchain@stable + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: targets: x86_64-pc-windows-msvc @@ -170,7 +170,7 @@ jobs: - uses: actions/checkout@v4 with: lfs: ${{ env.use_git_lfs }} - - uses: dtolnay/rust-toolchain@stable + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: targets: x86_64-apple-darwin - name: Environment Setup @@ -180,6 +180,8 @@ jobs: - name: Build run: | + cargo clean + cargo build -Zbuild-std cargo build --release --target x86_64-apple-darwin - name: Prepare Package @@ -216,7 +218,7 @@ jobs: - uses: actions/checkout@v4 with: lfs: ${{ env.use_git_lfs }} - - uses: dtolnay/rust-toolchain@stable + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: targets: aarch64-apple-darwin - name: Environment