Skip to content

Commit

Permalink
Update set output logic
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb committed Sep 22, 2023
1 parent 7635da6 commit bd1b866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
id: changes
run: |
git fetch --all
echo ::set-output name=docs::$(git show --name-only --oneline | grep docs/ && echo true || echo false)
echo "docs=$(git show --name-only --oneline | grep docs/ && echo true || echo false)" >> $GITHUB_OUTPUT
- uses: actions/setup-python@v2
if: steps.changes.outputs.docs == 'true'
with:
Expand Down

0 comments on commit bd1b866

Please sign in to comment.