Maybe this works

This commit is contained in:
Joel Wachsler 2022-07-10 21:26:33 +00:00
parent 6b23387e86
commit 01642f2c6a
2 changed files with 5 additions and 5 deletions

View File

@ -22,8 +22,8 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git tag "v${{ steps.determine-version.outputs.version }}" -a -m "Create new release"
SHOULD_PUBLISH="true"
git push origin "v${{ steps.determine-version.outputs.version }}" || SHOULD_PUBLISH="false"
SHOULD_PUBLISH='true'
git push origin "v${{ steps.determine-version.outputs.version }}" || SHOULD_PUBLISH='false'
echo "::set-output name=should_publish::$SHOULD_PUBLISH"
- name: Result
@ -33,7 +33,7 @@ jobs:
publish:
runs-on: ubuntu-22.04
needs: tag
if: ${{ needs.tag.outputs.should_publish == true }}
if: ${{ needs.tag.outputs.should_publish == 'true' }}
steps:
- uses: actions/checkout@v2

4
Cargo.lock generated
View File

@ -545,7 +545,7 @@ dependencies = [
[[package]]
name = "qbittorrent-web-api"
version = "0.2.1"
version = "0.2.6"
dependencies = [
"qbittorrent-web-api-gen",
"reqwest",
@ -557,7 +557,7 @@ dependencies = [
[[package]]
name = "qbittorrent-web-api-gen"
version = "0.1.0"
version = "0.2.6"
dependencies = [
"anyhow",
"case",