From a1b8fac177218d386fd8f0204ac2ac12e23e6f9c Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Tue, 6 Sep 2022 10:38:40 -0700 Subject: [PATCH 1/2] executable bin dist on linux --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8fe9dac..33fb3b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,6 +54,8 @@ jobs: key: ${{runner.os}}-bazel-cache - uses: actions/checkout@v3 - run: bazel run --config=ci //:copy_dist_bin + # TODO(zaucy): Figure out where executable permissions are going + - run: chmod +x dist/bin/ecsact - run: bazel run --config=ci //:copy_dist_codegen_plugins - uses: actions/upload-artifact@v3 with: From b97598e5678880eaceb0c248b2baccefe1119b9f Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Tue, 6 Sep 2022 10:43:40 -0700 Subject: [PATCH 2/2] set executable permissions after upload --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 33fb3b4..9561040 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,8 +54,6 @@ jobs: key: ${{runner.os}}-bazel-cache - uses: actions/checkout@v3 - run: bazel run --config=ci //:copy_dist_bin - # TODO(zaucy): Figure out where executable permissions are going - - run: chmod +x dist/bin/ecsact - run: bazel run --config=ci //:copy_dist_codegen_plugins - uses: actions/upload-artifact@v3 with: @@ -74,6 +72,8 @@ jobs: - uses: actions/download-artifact@v3 with: name: linux-x64-binaries + # https://github.com/actions/upload-artifact#permission-loss + - run: chmod +x bin/ecsact - run: tar -czf ecsact_sdk_${{github.ref_name}}_linux_x64.tar.gz bin include share - uses: actions/upload-artifact@v3 with: