From 43fab59103d488af41944452566a19f68595c12e Mon Sep 17 00:00:00 2001 From: Greg Stephens Date: Thu, 28 Nov 2024 21:27:42 -0800 Subject: [PATCH] move to step --- .github/workflows/test-train-model.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-train-model.yml b/.github/workflows/test-train-model.yml index b7b1fb0..aa64769 100644 --- a/.github/workflows/test-train-model.yml +++ b/.github/workflows/test-train-model.yml @@ -14,8 +14,6 @@ jobs: name: Training and Testing runs-on: ubuntu-latest # needs: [lint-testing, type-testing] - env: # Or as an environment variable - RASA_PRO_LICENSE: ${{ secrets.RASA_PRO_LICENSE }} steps: - uses: actions/checkout@v1 - id: files @@ -25,11 +23,11 @@ jobs: contains( steps.files.outputs.all, 'data/' ) || contains( steps.files.outputs.all, 'config.yml' ) run: echo "RUN_TRAINING=true" >> $GITHUB_ENV - - name: Echo RASA_PRO_LICENSE - run: echo RASA_PRO_LICENSE=$RASA_PRO_LICENSE - name: Rasa Train and Test GitHub Action # if: env.RUN_TRAINING == 'true' uses: RasaHQ/rasa-train-test-gha@main + env: + RASA_PRO_LICENSE: ${{ secrets.RASA_PRO_LICENSE }} with: rasa_image: 'rasa/rasa-pro:3.10.12' # rasa_version: '3.10.12'