diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 04cc4aafe8..c976c97a38 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,7 @@ jobs: name: "PhotonClient Build" needs: changed - if: ${{ needs.changed.outputs.code }} + if: needs.changed.outputs.code == 'true' defaults: run: @@ -63,7 +63,7 @@ jobs: runs-on: ${{ matrix.os }} needs: changed - if: ${{ needs.changed.outputs.code }} + if: needs.changed.outputs.code == 'true' strategy: fail-fast: false @@ -102,7 +102,7 @@ jobs: name: "Gradle Build" needs: changed - if: ${{ needs.changed.outputs.code }} + if: needs.changed.outputs.code == 'true' runs-on: ubuntu-22.04 steps: @@ -138,7 +138,7 @@ jobs: name: "Build Offline Docs" needs: changed - if: ${{ needs.changed.outputs.code }} + if: needs.changed.outputs.code == 'true' runs-on: ubuntu-22.04 steps: @@ -170,7 +170,7 @@ jobs: runs-on: ubuntu-22.04 needs: changed - if: ${{ needs.changed.outputs.code }} + if: needs.changed.outputs.code == 'true' steps: - uses: actions/checkout@v4 @@ -218,7 +218,7 @@ jobs: runs-on: ${{ matrix.os }} needs: changed - if: ${{ needs.changed.outputs.code }} + if: needs.changed.outputs.code == 'true' steps: - uses: actions/checkout@v4 @@ -265,7 +265,7 @@ jobs: name: "Photonlib - Build Docker - ${{ matrix.artifact-name }}" needs: changed - if: ${{ needs.changed.outputs.code }} + if: needs.changed.outputs.code == 'true' steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/photon-code-docs.yml b/.github/workflows/photon-code-docs.yml index 87dd974b7d..ec8b94c01e 100644 --- a/.github/workflows/photon-code-docs.yml +++ b/.github/workflows/photon-code-docs.yml @@ -48,13 +48,13 @@ jobs: needs: changed runs-on: ubuntu-22.04 steps: - - run: echo ${{ needs.changed.outputs.code }} - - run: echo ${{ needs.changed.outputs.docs }} + - run: echo "code=${{ needs.changed.outputs.code }}" + - run: echo "docs=${{ needs.changed.outputs.docs }}" build-client: needs: changed name: "PhotonClient Build" - if: ${{ needs.changed.outputs.code }} + if: needs.changed.outputs.code == 'true' defaults: run: working-directory: photon-client @@ -77,7 +77,7 @@ jobs: run_docs: runs-on: "ubuntu-22.04" needs: changed - if: ${{ needs.changed.outputs.code }} + if: needs.changed.outputs.code == 'true' steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/photonvision-docs.yml b/.github/workflows/photonvision-docs.yml index 7ea367ee61..98a92ef1f1 100644 --- a/.github/workflows/photonvision-docs.yml +++ b/.github/workflows/photonvision-docs.yml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-22.04 needs: changed - if: ${{ needs.changed.outputs.docs }} + if: needs.changed.outputs.docs== 'true' steps: - uses: actions/checkout@v4