Skip to content

Commit

Permalink
fix protoc dep versions
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Aug 14, 2024
1 parent d8051d9 commit 1e63d1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Install node protoc plugins
run: |
npm install -g @bufbuild/protoc-gen-es @connectrpc/protoc-gen-connect-es
npm install -g @bufbuild/protoc-gen-es@v1.10 @connectrpc/protoc-gen-connect-es@v1.10
- name: Install Prost from Cargo
uses: baptiste0928/cargo-install@v2
Expand Down Expand Up @@ -65,7 +65,9 @@ jobs:
run: buf generate proto

- name: Fix python imports
run: find gen/python/utxorpc_spec -type f -exec sed -i '' 's@from utxorpc@from utxorpc_spec.utxorpc@g' {} \;
run:
find gen/python/utxorpc_spec -type f -exec sed -i '' 's@from
utxorpc@from utxorpc_spec.utxorpc@g' {} \;

- name: Create codegen artifact
uses: actions/upload-artifact@v4
Expand Down
3 changes: 1 addition & 2 deletions gen/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
},
"homepage": "https://github.com/utxorpc/spec#readme",
"devDependencies": {
"typescript": "^5.1.3",
"@bufbuild/buf": "^1.35.1"
"typescript": "^5.1.3"
},
"dependencies": {
"@bufbuild/protobuf": "^1.10.0"
Expand Down

0 comments on commit 1e63d1d

Please sign in to comment.