Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Aug 12, 2024
1 parent cd7b9fc commit 3b54152
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,16 @@ jobs:
ssh-keyscan -H github.com > /etc/ssh/ssh_known_hosts 2> /dev/null
- name: build
run: |
cd grpc-proto
buf generate
sed -i 's/go_eosgrpc/go-eosgrpc' build/*.go
mv build ..
- name: push-git
run: |
git config user.email "[email protected]"
git config user.name "cernbox-bot"
cd grpc-proto
commitid=$(git rev-parse HEAD)
cd ..
git clone git+ssh://[email protected]/cern-eos/go-eosgrpc
cp build/*.go go-eosgrpc/
cp grpc-proto/build/*.go go-eosgrpc/
cd go-eosgrpc
git add .
git commit -m 'Synced to https://github.com/cern-eos/grpc-proto/tree/${commitid}'
Expand Down

0 comments on commit 3b54152

Please sign in to comment.