From 3f5816315f4f309b7c1e46de9f2ce7a0d985b9ae Mon Sep 17 00:00:00 2001 From: fmacleal Date: Thu, 8 Aug 2024 17:45:50 +0200 Subject: [PATCH] Applying some other suggestions from review --- .github/workflows/ci.yml | 22 +++++++++++++++++++ container-action/Dockerfile | 3 --- .../scripts/configure_rit_locally.sh | 2 +- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5871c28..2a2edb74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,3 +103,25 @@ jobs: run: | echo "RIT Status = ${{ steps.test-rit-action.outputs.status }}" echo "RIT Message = ${{ steps.test-rit-action.outputs.message }}" + + publish-rit-action-tag: + needs: test-rit-action + name: Publish RIT Action tag + runs-on: ubuntu-latest + timeout-minutes: 60 + if: github.ref == 'refs/heads/main' + + steps: + - name: Checkout + id: checkout + uses: actions/checkout@v4 + + - name: Create GitHub Release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: rootstock-integration-tests@v1 + release_name: Release rootstock-integration-tests@v1 + draft: false + prerelease: false diff --git a/container-action/Dockerfile b/container-action/Dockerfile index a92c2b27..56d3cd81 100644 --- a/container-action/Dockerfile +++ b/container-action/Dockerfile @@ -28,9 +28,6 @@ RUN apt-get -y install "openjdk-$JAVA_VERSION-jdk" ENV JAVA_HOME="/usr/lib/jvm/java-$JAVA_VERSION-openjdk-amd64" -RUN export JAVA_HOME="$JAVA_HOME" \ - && export PATH="$JAVA_HOME:$PATH" - # -- bitcoind --------------------------------------------------------- ENV BITCOIN_VERSION 0.18.1 diff --git a/container-action/scripts/configure_rit_locally.sh b/container-action/scripts/configure_rit_locally.sh index 5afc0687..2c0bc511 100755 --- a/container-action/scripts/configure_rit_locally.sh +++ b/container-action/scripts/configure_rit_locally.sh @@ -6,7 +6,7 @@ if [ $# -ne 1 ] || [ -z "${1:-}" ]; then fi POWPEG_VERSION=$1 shift -echo "POWPEG_VERSION received as parameter: $1" +echo "POWPEG_VERSION received as parameter: $POWPEG_VERSION" read -r -d '' SETTINGS_RIT <