Skip to content

Commit

Permalink
Merge pull request #45 from hiero-ledger/publish-pipeline-fix
Browse files Browse the repository at this point in the history
Publish pipeline fix to address Issue 44
  • Loading branch information
nadineloepfe authored Feb 5, 2025
2 parents b4c7a70 + 6c831fe commit 07fc439
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ 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==1.68.1"

- name: Generate Protobuf (if needed)
- name: Generate Protobuf
run: bash ./generate_proto.sh

- name: Build wheel and sdist
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 07fc439

Please sign in to comment.