diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index 6f00a529b..c9bb2c9f5 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -31,6 +31,9 @@ jobs: - name: Build apps run: | + export SWARM_HOST=$(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | head -n 1) + echo "$SWARM_HOST" + ./apps/kv-store/build.sh - name: Build contracts @@ -47,8 +50,7 @@ jobs: NO_COLOR: '1' # RUST_LOG: calimero_node=debug,calimero_network=debug run: | - SWARM_HOST=$(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}') - export $SWARM_PORT + export SWARM_HOST=$(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | head -n 1) echo "Running e2e tests, check job summary for details" echo "# E2E tests 🏗️" >> $GITHUB_STEP_SUMMARY