From 5a93e312acbd7fb6bf4fc0baa98d3bb962b1fac6 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 8 Mar 2024 15:14:55 +0100 Subject: [PATCH] Condition the jwt action on release (#171) --- .github/workflows/build-c-libraries.yml | 1 + .github/workflows/hw-build.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build-c-libraries.yml b/.github/workflows/build-c-libraries.yml index 5c504a85..dc5fe234 100644 --- a/.github/workflows/build-c-libraries.yml +++ b/.github/workflows/build-c-libraries.yml @@ -135,6 +135,7 @@ jobs: chiavdfc-${{ matrix.os.matrix }}-${{ matrix.arch.matrix }}.zip - uses: Chia-Network/actions/github/jwt@main + if: env.RELEASE == 'true' - name: Notify new build if: env.RELEASE == 'true' diff --git a/.github/workflows/hw-build.yml b/.github/workflows/hw-build.yml index edbe8261..b1265e0a 100644 --- a/.github/workflows/hw-build.yml +++ b/.github/workflows/hw-build.yml @@ -104,6 +104,7 @@ jobs: dist/${{ env.DEB_NAME }} - uses: Chia-Network/actions/github/jwt@main + if: env.RELEASE == 'true' - name: Trigger repo update if: env.RELEASE == 'true'