ci: fix publish action

This commit is contained in:
spacemeowx2 2021-01-01 01:55:02 +08:00
parent 82c3310d11
commit 23742b5c98

View File

@ -1,6 +1,7 @@
on: on:
release: push:
types: [published] tags:
- 'v*.*.*'
name: Publish name: Publish
@ -27,4 +28,4 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: publish command: publish
args: -p blflash --token ${{ secrets.CRATES_IO_TOKEN }} args: --manifest-path blflash/Cargo.toml --token ${{ secrets.CRATES_IO_TOKEN }}