Skip to content

Commit

Permalink
Update update_index.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ccbaumler authored Feb 22, 2024
1 parent d9a475f commit ff35bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
$HasDiff = $SourceDiff.Length -gt 0
# Set the output named "docs_changed"
Write-Host "docs_changed=$HasDiff" >> $GITHUB_OUTPUT
Write-Host "docs_changed=$HasDiff" >> "$GITHUB_OUTPUT"
# Run the job only with "docs_changed" equals "True"
conditional_update_index_job:
runs-on: 'ubuntu-20.04'
needs: [ conditional_job_check_files ]
if: needs.conditional_job_check_files.outputs.docs_changed == 'True'
if: ${{ needs.conditional_job_check_files.outputs.docs_changed == 'True' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit ff35bff

Please sign in to comment.