Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshbhagi committed Feb 23, 2024
1 parent 472a58d commit fe89634
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/Relayer-Ubuntu-Latest-Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ jobs:
git config user.email "[email protected]"
git tag ${{ github.event.inputs.version }}
git pull
git log --format="%H" -n 1
echo "Latest commit hash: $(git log --format="%H" -n 1)"
make build-local
rm -rf ${{ github.workspace }}/router-chain-binaries/
mkdir -p ${{ github.workspace }}/router-chain-binaries/
tar -czvf router-relayer.tar.gz router-relayer
mv router-relayer.tar.gz ${{ github.workspace }}/router-chain-binaries/
Expand Down Expand Up @@ -69,9 +70,9 @@ jobs:
git config --global url."https://ganesh_bhagi:${{secrets.USER_GITHUB_TOKEN}}@github.com/".insteadOf "https://github.com/"
git config user.name "Router Protocol"
git config user.email "[email protected]"
ls -al
echo "PWD: $(pwd)"
mkdir -p linux
echo "SHA256 checksum for the binary: $(sha256sum ${{ github.workspace }}/router-chain-binaries/router-relayer.tar.gz)"
git rm -rf linux/router-relayer.tar.gz
mv ${{ github.workspace }}/router-chain-binaries/router-relayer.tar.gz ./linux/
git add linux/router-relayer.tar.gz
git commit -m "Latest relayer executable updated: $(date +'%Y-%m-%d %H:%M:%S')"
Expand Down

0 comments on commit fe89634

Please sign in to comment.