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:
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 }}