From 31b6d7dd5590907def97012aa223f48acf10ad3c Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Sat, 9 Dec 2023 23:00:56 +0900 Subject: [PATCH] fix: Update test.yml (#490) --- .github/workflows/test.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44f2fb093..b8cfeef6d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,11 +5,19 @@ on: permissions: {} jobs: - test: + test1: if: ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}} runs-on: ubuntu-latest steps: - - if: ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}} - run: echo "${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}" >> $GITHUB_STEP_SUMMARY + - run: | + echo "test1: ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}" >> $GITHUB_STEP_SUMMARY + test2: + if: | + ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}} + runs-on: ubuntu-latest + steps: + - run: | + echo "test2: ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}" >> $GITHUB_STEP_SUMMARY + call-test: uses: ./.github/workflows/debug.yml