From f35402495b9c86bbf4758322ca5de21704896d00 Mon Sep 17 00:00:00 2001 From: MASES Public Developers Team <94312179+masesdevelopers@users.noreply.github.com> Date: Wed, 3 Jul 2024 04:20:09 +0200 Subject: [PATCH] Update build.yaml adding a double condition --- .github/workflows/build.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 543b788..37842fc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,10 +27,11 @@ jobs: check_changes: name: Check changed files outputs: - run_build_windows: ${{ steps.check_files.outputs.run_build_windows }} + run_build_windows: ${{ steps.check_files.outputs.run_build_windows || steps.force_execute.outputs.run_build_windows }} runs-on: ubuntu-latest steps: - - if: ${{ github.event_name != 'push' }} + - id: force_execute + if: ${{ github.event_name != 'push' }} run: echo "run_build_windows=true" >> $GITHUB_OUTPUT - id: get_changed_files if: ${{ github.event_name == 'push' }} @@ -59,7 +60,7 @@ jobs: fi done - name: Get run_build_windows - run: echo "The selected run_build_windows is ${{ steps.check_files.outputs.run_build_windows }}" + run: echo "The selected run_build_windows is ${{ steps.check_files.outputs.run_build_windows || steps.force_execute.outputs.run_build_windows }}" # Now run "build_windows" build_windows: