Skip to content

Commit

Permalink
Update set output
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb committed Sep 22, 2023
1 parent 5c83c0e commit 3836720
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
id: changes
run: |
git fetch --all
git diff --quiet origin/main -- docs
echo ::set-output name=docs::$(test $? -ne 0 && echo 'true' || echo 'false')
echo ::set-output name=docs::$(git diff --quiet origin/main -- docs && echo "false" || echo "true")
- uses: actions/setup-python@v2
if: steps.changes.outputs.docs == 'true'
with:
Expand Down

0 comments on commit 3836720

Please sign in to comment.