12
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2026-05-14 04:20:33 +00:00

add GOPATH/bin to PATH before running gen-tls-certs.sh

This commit is contained in:
Srikrishna Iyer 2026-05-06 20:35:52 +05:30
parent 647e66c75f
commit 3eb7e8624d
No known key found for this signature in database
GPG key ID: 212F890C328D4059
2 changed files with 2 additions and 2 deletions

View file

@ -203,11 +203,12 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Generate TLS certs
- name: Generate TLS Certificates
if: ${{ !env.ACT }}
run: |
go install github.com/cloudflare/cfssl/cmd/cfssl@v1.6.5
go install github.com/cloudflare/cfssl/cmd/cfssljson@v1.6.5
export PATH="$(go env GOPATH)/bin:$PATH"
./scripts/gen-tls-certs.sh
cat .build/e2e-tls.env >> "$GITHUB_ENV"

View file

@ -17,7 +17,6 @@ ENVFILE="$REPO_ROOT/.build/e2e-tls.env"
if ! command -v cfssl &>/dev/null || ! command -v cfssljson &>/dev/null; then
echo "error: cfssl and cfssljson are required." >&2
echo " Install with: brew install cfssl" >&2
exit 1
fi