Skip to content

Tapo Rust v0.7.7

Tapo Rust v0.7.7 #6

Workflow file for this run

name: Rust publish
on:
release:
types:
- created
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/v')"
steps:
- uses: actions/checkout@v2
with:
ref: main
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo login
run: cargo login ${CRATES_IO_TOKEN}
env:
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
- name: Run build
run: cargo build --package tapo --release --verbose
- name: Run cargo publish
run: cargo publish --package tapo