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.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]" git config --local user.name "github-actions[bot]"
git tag "v${{ steps.determine-version.outputs.version }}" -a -m "Create new release" git tag "v${{ steps.determine-version.outputs.version }}" -a -m "Create new release"
SHOULD_PUBLISH="true" SHOULD_PUBLISH='true'
git push origin "v${{ steps.determine-version.outputs.version }}" || SHOULD_PUBLISH="false" git push origin "v${{ steps.determine-version.outputs.version }}" || SHOULD_PUBLISH='false'
echo "::set-output name=should_publish::$SHOULD_PUBLISH" echo "::set-output name=should_publish::$SHOULD_PUBLISH"
- name: Result - name: Result
@ -33,7 +33,7 @@ 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 - uses: actions/checkout@v2

4
Cargo.lock generated
View File

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