-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Getting the following error on Github actions, realised I had multiple custom Github actions defined (in separate files) which I was using in multiple Github workflows and all these actions had the databricks/setup-cli@main step common in them. If I used more than one actions in the same job in a Github workflow, I'd get the following error. I had to remove the databricks/setup-cli@main step from the actions I am planning to call later so it doesn't happen again in the same job in a Github workflow. This is ofcourse a valid workaround but it leaves my individual defined actions not complete in themselves - which means I can't have the complete freedom of which of my actions to use when.
---------Error Log in Text----------
Run databricks/setup-cli@main
with:
env:
pythonLocation: /opt/hostedtoolcache/Python/3.13.5/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.13.5/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.13.5/x64/lib
Run bash $GITHUB_ACTION_PATH/setup_release.sh
bash $GITHUB_ACTION_PATH/setup_release.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.13.5/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.13.5/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.5/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.13.5/x64/lib
VERSION:
replace .bin/CHANGELOG.md? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(EOF or read error, treating as "[N]one" ...)
Error: Process completed with exit code 1.
Suggestion / fix
Change the following line
Line 48 in 6357e87
| unzip -q "${FILE}.zip" -d .bin |
to
# Unzip release archive (force overwrite existing files).
unzip -oq "${FILE}.zip" -d .bin