File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,20 +48,20 @@ jobs:
4848 echo "Update needed. Current version is outdated or not present."
4949
5050 - name : Download whl file
51- if : steps.check-update.outputs.update_needed != 'false'
51+ if : steps.check-branch.outputs.branch_exists != 'true' && steps.check- update.outputs.update_needed != 'false'
5252 run : |
5353 LATEST_RELEASE=${{ steps.get-latest-version.outputs.LATEST_RELEASE }}
5454 ASSET_URL=$(curl -s https://api.github.com/repos/arduino/app-bricks-py/releases/latest | jq -r '.assets[] | select(.name | endswith(".whl")) | .browser_download_url')
5555 wget "$ASSET_URL" -O libs/arduino_app_bricks-${LATEST_RELEASE}-py3-none-any.whl
5656
5757 - name : Remove old whl files
58- if : steps.check-update.outputs.update_needed != 'false'
58+ if : steps.check-branch.outputs.branch_exists != 'true' && steps.check- update.outputs.update_needed != 'false'
5959 run : |
6060 LATEST_RELEASE=${{ steps.get-latest-version.outputs.LATEST_RELEASE }}
6161 find libs/ -name 'arduino_app_bricks-*.whl' ! -name "arduino_app_bricks-${LATEST_RELEASE}-py3-none-any.whl" -delete
6262
6363 - name : Commit and push whl file
64- if : steps.check-update.outputs.update_needed != 'false'
64+ if : steps.check-branch.outputs.branch_exists != 'true' && steps.check- update.outputs.update_needed != 'false'
6565 run : |
6666 LATEST_RELEASE=${{ steps.get-latest-version.outputs.LATEST_RELEASE }}
6767 git config user.name "github-actions"
You can’t perform that action at this time.
0 commit comments