Skip to content

Commit

Permalink
only run on release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
joshrotenberg committed Mar 8, 2024
1 parent 5a67d4a commit 51022b4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: release
on:
workflow_dispatch:
push:
branches:
- main
release:
types: [created]

env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
Expand Down Expand Up @@ -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 }}
# GITHUB_TOKEN: ${{ secrets.GH_PAT }}

0 comments on commit 51022b4

Please sign in to comment.