qbittorrent_web_api/.github/workflows/release.yml
Joel Wachsler 5d1052bd61 Fix tag
2022-07-10 18:21:10 +00:00

35 lines
760 B
YAML

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
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