Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SeoulSKY committed Mar 12, 2024
1 parent dd88382 commit 2125bef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ runs:
with:
images: ghcr.io/${{ inputs.username }}/${{ inputs.context }}

- name: Build Proto files
- name: Build Node.js
shell: bash
run: |
cd ${{ inputs.context }}
chmod +x build-protos.sh
./build-protos.sh
npm install -D
npm run build-protos
npm run build
- name: Build and push ${{ inputs.context }}
uses: docker/build-push-action@v4
Expand Down
2 changes: 1 addition & 1 deletion sorusora-ai/build-protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OUT_DIR=src/protos

PATH=${PATH}:./node_modules/.bin

npm install
npm install grpc-tools grpc_tools_node_protoc_ts

mkdir -p "${OUT_DIR}"

Expand Down

0 comments on commit 2125bef

Please sign in to comment.