From ac0eccda354f4248e0abc5623e824b399c2e2ffd Mon Sep 17 00:00:00 2001 From: Ritvik Nag Date: Sat, 25 Jan 2025 00:31:16 -0500 Subject: [PATCH] fFIX that --- .github/workflows/publish.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 017d9f9..4db5923 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,21 +2,11 @@ name: Publish Crate on: push: - branches: - - main - paths: - - Cargo.toml + tags: + - 'v*' # Trigger on tags starting with 'v' repository_dispatch: types: publish -# After you create the GitHub repo, head over to `crates.io` and create -# an API Token, or use the link below: -# -# -# Once you have an API token, add it as a Repository Secret (CARGO_TOKEN) -# under the GitHub repo, so that it can be used by GitHub Actions to deploy -# to `crates.io` whenever a new tag is pushed to GitHub: -# jobs: publish: runs-on: ubuntu-latest