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