Skip to content

Commit 0f03ccd

Browse files
committed
Fix YAML syntax error in release workflow
**Issue:** GitHub Actions expressions cannot be directly embedded in bash multiline strings, causing YAML parser error on line 197. **Fix:** - Move ${{ needs.identifiers.outputs.base_branch }} to env var BASE_BRANCH - Move ${{ needs.identifiers.outputs.head_sha }} to env var HEAD_SHA - Reference as $BASE_BRANCH and $HEAD_SHA in bash script This follows the pattern used in autobahn-python release workflow.
1 parent 0420d70 commit 0f03ccd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ jobs:
180180
- name: Create development GitHub release
181181
env:
182182
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
183+
BASE_BRANCH: ${{ needs.identifiers.outputs.base_branch }}
184+
HEAD_SHA: ${{ needs.identifiers.outputs.head_sha }}
183185
run: |
184186
echo "==> Creating development/nightly GitHub release..."
185187
echo "Release type: $RELEASE_TYPE"
@@ -196,8 +198,8 @@ jobs:
196198
197199
**Release:** $RELEASE_NAME
198200
**Type:** $RELEASE_TYPE
199-
**Branch:** ${{ needs.identifiers.outputs.base_branch }}
200-
**Commit:** ${{ needs.identifiers.outputs.head_sha }}
201+
**Branch:** $BASE_BRANCH
202+
**Commit:** $HEAD_SHA
201203

202204
This is an automated development/nightly build for testing purposes.
203205

0 commit comments

Comments
 (0)