From c0a9331d5ebd123b378df4b6bac7efd2c6a196fe Mon Sep 17 00:00:00 2001 From: Nolwen Date: Tue, 30 Apr 2024 16:23:14 +0200 Subject: [PATCH] test with python --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1db29c..2ecdde5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,6 +39,13 @@ 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 }} + - uses: actions/setup-python@v5 + with: + python-version: 3.8 + - shell: python3 {0} + run: | + if "${{ needs.trigger.outputs.is_release == 'true' || needs.trigger.outputs.is_push_on_default_branch == 'true' || needs.trigger.outputs.is_schedule == 'true' }}" == "false": + print("on a dev branch") only-on-master: needs: [trigger]