Skip to content

Commit

Permalink
Fixing inputs to use hyphen instead of underline
Browse files Browse the repository at this point in the history
  • Loading branch information
fmacleal committed Jul 18, 2024
1 parent cbefcc7 commit 5acfe11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 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}"
export LOG_LEVEL="${INPUT_RIT-LOG-LEVEL}"

echo -e "\n\n--------- Executing Rootstock Integration Tests ---------\n\n"
npm install -y
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
id: test-container
run: |
docker run \
--env INPUT_RSKJ_BRANCH="master" \
--env INPUT_POWPEG_NODE_BRANCH="master" \
--env INPUT_RIT_BRANCH="main" \
--env INPUT_RIT_LOG_LEVEL="info" \
--env INPUT_RSKJ-BRANCH="master" \
--env INPUT_POWPEG-NODE-BRANCH="master" \
--env INPUT_RIT-BRANCH="main" \
--env INPUT_RIT-LOG-LEVEL="info" \
--env GITHUB_OUTPUT="/github-output" \
-v "$GITHUB_OUTPUT:/github-output" \
--rm ${{ env.TEST_TAG }}
Expand Down

0 comments on commit 5acfe11

Please sign in to comment.