qbittorrent_web_api/.github/workflows/publish.yml

35 lines
742 B
YAML
Raw Normal View History

2022-07-10 22:48:32 +02:00
on:
push:
tags:
2022-07-10 22:53:18 +02:00
- '**'
2022-07-10 22:48:32 +02:00
jobs:
publish:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Verify version
run: ./.github/verify_version.sh
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Login
uses: actions-rs/cargo@v1
with:
command: login
args: ${{ secrets.CRATES_IO_TOKEN }}
- name: Publish qbittorrent-web-api-gen
uses: actions-rs/cargo@v1
with:
command: publish
args: --package qbittorrent-web-api-gen
- name: Publish qbittorrent-web-api
uses: actions-rs/cargo@v1
with:
command: publish