From c0e15407d53bfb18c90a945d37c427838c6dadd0 Mon Sep 17 00:00:00 2001 From: Jason Ozias Date: Fri, 9 Feb 2024 22:23:03 -0500 Subject: [PATCH] Trying different toolchain version for MacOS --- .github/workflows/release.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66eb8df..0b00427 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,10 +22,20 @@ jobs: - name: ✅ Checkout ✅ uses: actions/checkout@v4 - name: 🧱 Build and Release 🧱 + if: matrix.target == 'x86_64-pc-windows-gnu' || matrix.target == 'x86_64-unknown-linux-musl' uses: rust-build/rust-build.action@latest env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: RUSTTARGET: ${{ matrix.target }} ARCHIVE_TYPES: ${{ matrix.archive }} - TOOLCHAIN_VERSION: nightly \ No newline at end of file + TOOLCHAIN_VERSION: nightly + - name: 🧱 Build and Release 🧱 + if: matrix.target == 'x86_64-apple-darwin' + uses: rust-build/rust-build.action@latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + RUSTTARGET: ${{ matrix.target }} + ARCHIVE_TYPES: ${{ matrix.archive }} + TOOLCHAIN_VERSION: "1.75" \ No newline at end of file