Skip to content

Commit

Permalink
Update update-proto.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wkarts authored Aug 23, 2024
1 parent 3ae6bf1 commit 3a9c03f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/update-proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@ jobs:
echo "wa_version=$WA_VERSION" >> $GITHUB_OUTPUT
echo "wa_js_url=$WA_JS_URL" >> $GITHUB_OUTPUT
- name: GenerateStatics
run: yarn gen:protobuf
#run: |
# yarn global add protobufjs protobufjs-cli
# export PATH="$(yarn global bin):$PATH"
# pbjs -t static-module -w commonjs -o ./WAProto/index.js ./WAProto/WAProto.proto
# pbts -o ./WAProto/index.d.ts ./WAProto/index.js
- name: GenerateStatics
run: |
yarn global add protobufjs protobufjs-cli
export PATH="$(yarn global bin):$PATH"
pbjs -t static-module -w commonjs -o ./WAProto/index.js ./WAProto/WAProto.proto
pbts -o ./WAProto/index.d.ts ./WAProto/index.js
- name: Update baileys-version.json
run: |
Expand Down

0 comments on commit 3a9c03f

Please sign in to comment.