From d6e98f3e6e4821f1adf50c02c2f5d38c3b7ee01f Mon Sep 17 00:00:00 2001 From: ydshieh Date: Mon, 29 Apr 2024 16:05:58 +0200 Subject: [PATCH] hello 1 hello 2 hello 3 hello 4 --- .github/workflows/self-new-model-pr-caller.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/self-new-model-pr-caller.yml b/.github/workflows/self-new-model-pr-caller.yml index e46fbd9ceaa965..a59b91df4449b9 100644 --- a/.github/workflows/self-new-model-pr-caller.yml +++ b/.github/workflows/self-new-model-pr-caller.yml @@ -44,12 +44,14 @@ jobs: - name: Check if there are specified models run: | echo "models=['models/bert', 'models/gpt2']" >> $GITHUB_ENV + echo "models=$(python utils/check_if_new_model_added.py | tail -n 1)" >> $GITHUB_ENV - - name: Check values + # TODO: combine the values + - name: Models to run slow CI id: models_to_run run: | - echo "${{ env.new_model }}" echo "${{ env.commit_message }}" + echo "${{ env.new_model }}" echo "${{ env.models }}" echo "models=${{ env.models }}" >> $GITHUB_OUTPUT