From 51022b4e11d597c6f4a1165f247bee8d9a52366e Mon Sep 17 00:00:00 2001 From: josh rotenberg Date: Fri, 8 Mar 2024 10:40:48 -0800 Subject: [PATCH] only run on release creation --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 419c820..c16ec51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,8 @@ name: release on: - workflow_dispatch: - push: - branches: - - main + release: + types: [created] + env: CARGO_INCREMENTAL: 0 CARGO_NET_RETRY: 10 @@ -138,4 +137,4 @@ jobs: # # Used for creating the formula update PR # COMMITTER_TOKEN: ${{ secrets.GH_PAT }} # # Used for verifying the SHA256 sum of the draft release - # GITHUB_TOKEN: ${{ secrets.GH_PAT }} \ No newline at end of file + # GITHUB_TOKEN: ${{ secrets.GH_PAT }}