Skip to content

Commit 37b1905

Browse files
committed
binary release ci versioning result is a string
1 parent a6173dd commit 37b1905

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ jobs:
130130
uses: actions/github-script@v7
131131
id: ver-gateway
132132
with:
133+
result-encoding: string
133134
script: |
134135
const publishedPackages = ${{ needs.stable.outputs.publishedPackages || needs.snapshot.outputs.publishedPackages }};
135136
const gateway = publishedPackages.find((p) => p.name === '@graphql-hive/gateway');
@@ -154,7 +155,7 @@ jobs:
154155
- name: Bundle
155156
run: yarn workspace @graphql-hive/gateway bundle
156157
- name: Inject version
157-
run: yarn workspace @graphql-hive/gateway tsx scripts/inject-version ${{ steps.ver-gateway.outputs.result }}
158+
run: yarn workspace @graphql-hive/gateway tsx scripts/inject-version "${{ steps.ver-gateway.outputs.result }}"
158159
- name: Package binary
159160
run: yarn workspace @graphql-hive/gateway tsx scripts/package-binary
160161
- name: Set binary info

0 commit comments

Comments
 (0)