From 73a2fe0ea4fd6eabfcbcc1bf82c0bd3e4a187be3 Mon Sep 17 00:00:00 2001 From: alexweininger Date: Fri, 29 Sep 2023 15:35:32 -0400 Subject: [PATCH] Try this --- .github/workflows/packages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 126b48acea..75eb04c6b9 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -32,6 +32,7 @@ jobs: packages: ${{ steps.filter.outputs.changes }} Build: + if: ${{ fromJson(needs.ChangedPackages.outputs.packages)[0] != null }} # Use template from https://github.com/microsoft/vscode-azuretools/blob/main/.github/workflows/jobs.yml uses: ./.github/workflows/jobs.yml needs: [ChangedPackages] @@ -44,8 +45,7 @@ jobs: CheckResults: # Require all jobs under `build` to have succeeded # See https://github.com/orgs/community/discussions/26822 - if: ${{ fromJson(needs.ChangedPackages.outputs.packages)[0] != null }} - needs: [Build, ChangedPackages] + needs: [Build] runs-on: ubuntu-latest steps: - run: exit 1