From 124fb5cdff3c70ecc8ceb5b409ca77a74a2f0e8b Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Wed, 19 Jul 2023 09:45:23 -0400 Subject: [PATCH] set execute filemode on ziti binaries for macOS and Linux --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f0dc98243..2eca2e42a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -270,6 +270,20 @@ jobs: name: windows-release-${{ github.run_id }} path: release/ + - name: List downloaded release artifacts + run: | + ls -lR release/ + + - name: Restore execute filemode on macOS and Linux release artifacts before publishing + run: | + find ./release \ + -path "./release/*/darwin/ziti" \ + -o \ + -path "./release/*/linux/ziti" \ + -type f \ + -print0 \ + | xargs -0 chmod -c +x + - name: Install Jfrog CLI uses: jfrog/setup-jfrog-cli@v3 with: