From 875d453ee3f67a53ffd06a343f22d7e464ac1588 Mon Sep 17 00:00:00 2001 From: mairess Date: Tue, 9 Jul 2024 18:55:14 -0300 Subject: [PATCH] fix: main.yaml, move env to Run Kafka KRaft Broker --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cbfbdce..b12731c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,12 +7,6 @@ jobs: validate-tests: runs-on: ubuntu-latest - env: - MAIL_HOST: ${{ secrets.MAIL_HOST }} - MAIL_PORT: ${{ secrets.MAIL_PORT }} - MAIL_USERNAME: ${{ secrets.MAIL_USERNAME }} - MAIL_PASSWORD: ${{ secrets.MAIL_PASSWORD }} - steps: - name: Checkout repository and switch to branch uses: actions/checkout@v3 @@ -29,6 +23,12 @@ jobs: kafka-version: "3.7.0" kafka-topics: "installationCompleted.request, 1" + env: + MAIL_HOST: ${{ secrets.MAIL_HOST }} + MAIL_PORT: ${{ secrets.MAIL_PORT }} + MAIL_USERNAME: ${{ secrets.MAIL_USERNAME }} + MAIL_PASSWORD: ${{ secrets.MAIL_PASSWORD }} + - name: Validate checkstyle run: mvn checkstyle:check