Skip to content

Commit ae72cd5

Browse files
Fix github workflow to correctly pass the release tag name (#2533)
1 parent 88e956a commit ae72cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_ecs_typescript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
-H "Authorization: Bearer ${{ secrets.ECS_TYPESCRIPT_REPO_TRIGGER_KEY }}" \
1818
-H "X-GitHub-Api-Version: 2022-11-28" \
1919
https://api.github.com/repos/elastic/ecs-typescript/actions/workflows/generate.yml/dispatches \
20-
-d '{"ref":"main","inputs":{"ecsRef":"${{ env.RELEASE_VERSION }}"}}'
20+
-d '{"ref":"main","inputs":{"ecsRef":"${{ github.event.release.tag_name }}"}}'

0 commit comments

Comments
 (0)