From e9f966045b551d49c748f13f9631b48ce8689e1b Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Mon, 12 Aug 2024 12:07:39 +0200 Subject: [PATCH] CI fixes --- .github/workflows/build-and-publish.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 061570a..c387a0e 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -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 .. + sed -i 's/go_eosgrpc/go-eosgrpc/' build/*.go - name: push-git run: | git config user.email "cbox@cern.ch" git config user.name "cernbox-bot" - cd grpc-proto commitid=$(git rev-parse HEAD) cd .. git clone git+ssh://git@github.com/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}'