Skip to content

Commit

Permalink
publish.yml update - grpc install success
Browse files Browse the repository at this point in the history
Signed-off-by: nadine.loepfe <[email protected]>
  • Loading branch information
nadineloepfe committed Feb 4, 2025
1 parent b4c7a70 commit dad222a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- name: Upgrade pip
run: pip install --upgrade pip

- name: Install build & pdm-backend
run: pip install build pdm-backend
- name: Install build, pdm-backend, and grpcio-tools
run: pip install build pdm-backend grpcio-tools

- name: Generate Protobuf (if needed)
run: bash ./generate_proto.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Hedera Solo Integration Tests
name: Hiero Solo Integration Tests

on:
push:
Expand Down Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Generate Proto Files
run: bash ./generate_proto.sh

- name: Prepare Hedera Solo
- name: Prepare Hiero Solo
id: solo
uses: OpenElements/[email protected]

Expand Down
4 changes: 2 additions & 2 deletions generate_proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ touch $services_dir/__init__.py
touch $mirror_dir/__init__.py

# Step 2: Download and extract protobuf files
echo "Downloading Hedera protobufs version $hapi_version..."
echo "Downloading Hiero protobufs version $hapi_version..."
curl -sL "https://github.com/hashgraph/hedera-protobufs/archive/refs/tags/${hapi_version}.tar.gz" | tar -xz -C $protos_dir --strip-components=1
# Keep 'platform', 'services', and 'mirror', remove everything else
find "$protos_dir" -mindepth 1 -maxdepth 1 ! -name platform ! -name services ! -name mirror -exec rm -r {} +
Expand Down Expand Up @@ -83,4 +83,4 @@ if [ "$(ls -A $services_dir)" ] && [ "$(ls -A $mirror_dir)" ]; then
else
echo "Error: Protobuf file generation or adjustment failed."
exit 1
fi
fi

0 comments on commit dad222a

Please sign in to comment.