From 29d64590cb376c66dfee960bee7d140e62c23962 Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Mon, 11 Jul 2022 00:27:53 +0200 Subject: [PATCH] Update publish --- .github/workflows/publish.yml | 5 +++++ .github/workflows/release.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 510c784..aaff8d4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,6 +57,11 @@ jobs: command: publish args: --package qbittorrent-web-api-gen + - name: Sleep for 10 seconds - wait for qbittorrent-web-api-gen to be available + uses: jakejarvis/wait-action@master + with: + time: '10s' + - name: Publish qbittorrent-web-api uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4ac194..e7aea59 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,4 +45,4 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.ref }} \ No newline at end of file + branch: ${{ github.ref }}