From 9f2f92d5cd7bc4fd2bbd01d542f310cd832bcb99 Mon Sep 17 00:00:00 2001 From: Danny Meijer <10511979+dannymeijer@users.noreply.github.com> Date: Fri, 7 Jun 2024 11:01:58 +0200 Subject: [PATCH] fix for workflow --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9cb0010c..75741096 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,8 +45,10 @@ jobs: id: check run: | BASE_REF=${{ github.event.pull_request.base.ref || 'main' }} - echo "python_changed=$(git diff --name-only $BASE_REF ${{ github.event.after }} | grep '\.py$')" >> "$GITHUB_OUTPUT" - echo "toml_changed=$(git diff --name-only $BASE_REF ${{ github.event.after }} | grep '\.toml$')" >> "$GITHUB_OUTPUT" + python_changed=$(git diff --name-only $BASE_REF ${{ github.event.after }} | grep '\.py$') + toml_changed=$(git diff --name-only $BASE_REF ${{ github.event.after }} | grep '\.toml$') + echo "::set-output name=python_changed::$python_changed" + echo "::set-output name=toml_changed::$toml_changed" tests: needs: check_changes