Skip to content

Commit

Permalink
Ensure artifact_utils functions won't silently fail. Add git safe dir…
Browse files Browse the repository at this point in the history
…ectory during macos signed artifact push

Signed-off-by: Dom Del Nano <[email protected]>
  • Loading branch information
ddelnano committed Sep 5, 2024
1 parent ad6f51c commit ff89e27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cli_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ jobs:
uses: ./.github/actions/gcloud_creds
with:
SERVICE_ACCOUNT_KEY: ${{ secrets.GH_RELEASE_SA_PEM_B64 }}
- name: Add pwd to git safe dir
run: |
git config --global --add safe.directory `pwd`
- name: Upload signed CLI
env:
REF: ${{ github.event.ref }}
Expand Down
4 changes: 2 additions & 2 deletions ci/cli_upload_signed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

repo_path=$(bazel info workspace)

set -ex

# shellcheck source=ci/artifact_utils.sh
. "${repo_path}/ci/artifact_utils.sh"

set -ex

printenv

release_tag=${TAG_NAME##*/v}
Expand Down

0 comments on commit ff89e27

Please sign in to comment.