From abb733aaf16eae0f20cf740094f011cd99eef31c Mon Sep 17 00:00:00 2001 From: Nolwen Date: Tue, 30 Apr 2024 16:37:53 +0200 Subject: [PATCH] test trigger with shell --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ed1d086..ed09e67 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,6 +37,15 @@ jobs: echo is_release=${{ needs.trigger.outputs.is_release }} echo is_push_on_default_branch=${{ needs.trigger.outputs.is_push_on_default_branch }} echo is_schedule=${{ needs.trigger.outputs.is_schedule }} + + if ${{ needs.trigger.outputs.is_release }} == 'false'; then + echo this is not a release + fi + if ${{ needs.trigger.outputs.is_push_on_default_branch }} == 'true'; then + echo this is a push on default branch + fi + + - uses: actions/setup-python@v5 with: python-version: 3.8