Skip to content

Commit

Permalink
Fix things
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Nov 23, 2024
1 parent 302110a commit 63bcc6f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
name: "PhotonClient Build"

needs: changed
if: ${{ needs.changed.outputs.code }}
if: needs.changed.outputs.code == 'true'

defaults:
run:
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/photon-code-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/photonvision-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63bcc6f

Please sign in to comment.