Skip to content

Commit

Permalink
Attempt to fix the action that isn't getting branch properly
Browse files Browse the repository at this point in the history
  • Loading branch information
fmacleal committed Jul 17, 2024
1 parent abd3f5d commit dfd9eb4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/images/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ set -e
echo -e "\n\n--------- Starting the configuration of rskj ---------\n\n"
cd /usr/src/
git clone https://github.com/rsksmart/rskj.git rskj
cd rskj && git checkout "${INPUT_RSKJ_BRANCH}"
cd rskj && git checkout ${INPUT_RSKJ_BRANCH}
chmod +x ./configure.sh && chmod +x gradlew
./configure.sh

echo -e "\n\n--------- Starting the configuration of powpeg ---------\n\n"
cd /usr/src/
git clone https://github.com/rsksmart/powpeg-node.git powpeg
cp configure_gradle_powpeg.sh powpeg
cd powpeg && git checkout "${INPUT_POWPEG_NODE_BRANCH}"
cd powpeg && git checkout ${INPUT_POWPEG_NODE_BRANCH}
chmod +x ./configure.sh && chmod +x gradlew
POWPEG_VERSION=$(bash configure_gradle_powpeg.sh)
echo "POWPEG_VERSION=$POWPEG_VERSION"
Expand All @@ -27,11 +27,11 @@ mv configure_rit_locally.sh rit
mv regtest.js rit/config/regtest.js
mv /usr/src/logbacks/* /usr/src/rit/logbacks/
cd rit
git checkout "${INPUT_RIT_BRANCH}"
git checkout ${INPUT_RIT_BRANCH}
chmod +x ./configure.sh
./configure.sh
./configure_rit_locally.sh "${POWPEG_VERSION}"
export LOG_LEVEL="${INPUT_RIT_LOG_LEVEL}"
./configure_rit_locally.sh ${POWPEG_VERSION}
export LOG_LEVEL=${INPUT_RIT_LOG_LEVEL}

echo -e "\n\n--------- Executing Rootstock Integration Tests ---------\n\n"
npm install -y
Expand All @@ -46,8 +46,8 @@ else
fi
echo -e "$MESSAGE"

echo "status=${STATUS}" >>"${GITHUB_OUTPUT}"
echo "message=${MESSAGE}" >>"${GITHUB_OUTPUT}"
echo "status=${STATUS}" >> ${GITHUB_OUTPUT}
echo "message=${MESSAGE}" >> ${GITHUB_OUTPUT}

if [ $STATUS -ne 0 ]; then
exit 1
Expand Down

0 comments on commit dfd9eb4

Please sign in to comment.