This commit is contained in:
Joel Wachsler 2022-07-10 21:30:23 +00:00
parent 01642f2c6a
commit 435181db25

View File

@ -33,31 +33,32 @@ jobs:
publish: publish:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
needs: tag needs: tag
if: ${{ needs.tag.outputs.should_publish == 'true' }} # if: ${{ needs.tag.outputs.should_publish == 'true' }}
steps: steps:
- uses: actions/checkout@v2 - run: echo ${{ needs.tag.outputs.should_publish }}
# - uses: actions/checkout@v2
- name: Verify version # - name: Verify version
run: ./.github/verify_version.sh # run: ./.github/verify_version.sh
- name: Install latest stable # - name: Install latest stable
uses: actions-rs/toolchain@v1 # uses: actions-rs/toolchain@v1
with: # with:
toolchain: stable # toolchain: stable
- name: Login # - name: Login
uses: actions-rs/cargo@v1 # uses: actions-rs/cargo@v1
with: # with:
command: login # command: login
args: ${{ secrets.CRATES_IO_TOKEN }} # args: ${{ secrets.CRATES_IO_TOKEN }}
- name: Publish qbittorrent-web-api-gen # - name: Publish qbittorrent-web-api-gen
uses: actions-rs/cargo@v1 # uses: actions-rs/cargo@v1
with: # with:
command: publish # command: publish
args: --package qbittorrent-web-api-gen # args: --package qbittorrent-web-api-gen
- name: Publish qbittorrent-web-api # - name: Publish qbittorrent-web-api
uses: actions-rs/cargo@v1 # uses: actions-rs/cargo@v1
with: # with:
command: publish # command: publish