Skip to content

Commit aa74037

Browse files
committed
fix: incorrect yq command
1 parent 31f35dc commit aa74037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- name: Update file hash
2424
working-directory: ./tests
2525
run: |
26-
checksum=$(sha256sum sqlc-gen-java.wasm | awk '{print $1}')
27-
yq e -i ".plugins[0].wasm.sha256 = ${checksum}" sqlc.yaml
26+
export checksum=$(sha256sum sqlc-gen-java.wasm | awk '{print $1}')
27+
yq -i '.plugins[0].wasm.sha256 = env(checksum)' sqlc.yaml
2828
2929
- name: Setup SQLC
3030
uses: sqlc-dev/setup-sqlc@v4

0 commit comments

Comments
 (0)