From 4a2a6672fcd3dadcda06041f85b9c9e09bc2aa73 Mon Sep 17 00:00:00 2001 From: Balthazar Rouberol Date: Mon, 23 May 2022 11:43:43 +0200 Subject: [PATCH] Fix crates.io release job --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac4840a..d0d5349 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,7 +50,9 @@ jobs: CARGO_PROFILE_RELEASE_LTO: true # Publish the released crate to crates.io - publish-to-crates.io: + publish-to-cratesio: + if: github.repository_owner == 'brouberol' && startsWith(github.ref, 'refs/tags/') + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1