mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: give exec permission to provider binaries (#2779)
This commit is contained in:
parent
903411edae
commit
539e6eac48
1
.github/workflows/draft-release.yml
vendored
1
.github/workflows/draft-release.yml
vendored
@ -462,6 +462,7 @@ jobs:
|
|||||||
if [[ "${ext}" = "exe" ]]; then
|
if [[ "${ext}" = "exe" ]]; then
|
||||||
cp "${file}" "${folder_name}/terraform-provider-constellation_v${version}.exe"
|
cp "${file}" "${folder_name}/terraform-provider-constellation_v${version}.exe"
|
||||||
else
|
else
|
||||||
|
chmod 755 "${file}" # the upload artifact does not preserve file permissions (https://github.com/actions/upload-artifact/tree/main/?tab=readme-ov-file#permission-loss)
|
||||||
cp "${file}" "${folder_name}/terraform-provider-constellation_v${version}"
|
cp "${file}" "${folder_name}/terraform-provider-constellation_v${version}"
|
||||||
fi
|
fi
|
||||||
(cd "${folder_name}" && zip "../${folder_name}.zip" ./*) # do not zip the folder itself
|
(cd "${folder_name}" && zip "../${folder_name}.zip" ./*) # do not zip the folder itself
|
||||||
|
Loading…
Reference in New Issue
Block a user