From 23742b5c98fa012b52ab07ea4b2421fdfb912a3c Mon Sep 17 00:00:00 2001 From: spacemeowx2 Date: Fri, 1 Jan 2021 01:55:02 +0800 Subject: [PATCH] ci: fix publish action --- .github/workflows/publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6222ee3..651ca44 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,7 @@ on: - release: - types: [published] + push: + tags: + - 'v*.*.*' name: Publish @@ -27,4 +28,4 @@ jobs: uses: actions-rs/cargo@v1 with: command: publish - args: -p blflash --token ${{ secrets.CRATES_IO_TOKEN }} + args: --manifest-path blflash/Cargo.toml --token ${{ secrets.CRATES_IO_TOKEN }}