qbittorrent_web_api/.github/workflows/release.yml
2022-07-10 17:35:23 +00:00

30 lines
642 B
YAML

on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Login
uses: actions-rs/cargo@v1
with:
command: login
args: --token ${{ secrets.CRATES_IO_TOKEN }}
- name: Publish qbittorrent-web-api-gen
uses: actions-rs/cargo@v1
with:
command: publish
# - name: Publish qbittorrent-web-api
# uses: actions-rs/cargo@v1
# with:
# command: publish