Skip to content

Commit bb32e4f

Browse files
committed
fix: resolve CI failure in mtls sample test due to GitHub Actions context expansion
The 'Test run a workflow (cloud)' step was failing with 'Error: EACCES: permission denied, mkdir /certs' because ${{ runner.temp }} was not expanding properly in multi-line YAML blocks. Changes: - Convert multi-line run block to single-line format - Remove redundant create-certs-dir.js call (certs already created in prior step) - Add comment explaining why single-line format is required This ensures proper expansion of GitHub Actions context variables and prevents the '/certs' permission error.
1 parent 0706361 commit bb32e4f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,9 @@ jobs:
320320

321321
- name: Test run a workflow (cloud)
322322
if: matrix.server == 'cloud'
323-
run: |
324-
# The required environment variables must be present for releases (this must be run from the official repo)
325-
node scripts/create-certs-dir.js ${{ steps.tmp-dir.outputs.dir }}/certs
326-
node scripts/test-example.js --work-dir "${{ runner.temp }}/example"
323+
# The required environment variables must be present for releases (this must be run from the official repo)
324+
# Note: Using single-line format to ensure proper ${{ runner.temp }} expansion (multi-line blocks can fail to expand GitHub Actions contexts)
325+
run: node scripts/test-example.js --work-dir "${{ runner.temp }}/example"
327326
shell: bash
328327
env:
329328
# These env vars are used by the hello-world-mtls sample

0 commit comments

Comments
 (0)