From 539e6eac48d2d3f98995bbd9bd2428082e4ff6d2 Mon Sep 17 00:00:00 2001 From: Adrian Stobbe Date: Thu, 28 Dec 2023 10:19:47 +0100 Subject: [PATCH] ci: give exec permission to provider binaries (#2779) --- .github/workflows/draft-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 8dd8870e64..66b38a9a92 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -462,6 +462,7 @@ jobs: if [[ "${ext}" = "exe" ]]; then cp "${file}" "${folder_name}/terraform-provider-constellation_v${version}.exe" 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}" fi (cd "${folder_name}" && zip "../${folder_name}.zip" ./*) # do not zip the folder itself