From 8bbc93562ab0b5a6f3652bf0cf84c11ab79371c8 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Fri, 23 Aug 2024 20:36:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20remove=20unintended=20nightly=20?= =?UTF-8?q?releases=20attempts=20on=20crates.io?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c12808..dc8ac40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -108,7 +108,5 @@ jobs: name: ${{ env.TITLE }} prerelease: ${{ env.IS_PRERELEASE }} - name: Publish on crates.io - if: > - matrix.os == 'ubuntu-latest' && github.repository_owner == 'ttytm' - && ((github.ref_name == 'main' && github.event_name == 'push') || github.ref_type == 'tag') + if: github.repository_owner == 'ttytm' && github.ref_type == 'tag' && matrix.os == 'ubuntu-latest' run: cargo publish --token ${{ secrets.CRATES_TOKEN }}