diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/python-publish.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index fcb750b..f58f792 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -15,10 +15,13 @@ jobs: deploy: ${{ steps.check_deploy.outputs.deploy }} steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - id: check_deploy run: | - bash ./.github/workflows/should_deploy_sqlglotrs.sh - if [ $? -eq 0 ]; then echo "deploy=true" >> $GITHUB_OUTPUT; fi + bash ./.github/workflows/should_deploy_sqlglotrs.sh \ + && echo "deploy=true" >> $GITHUB_OUTPUT \ + || echo "deploy=false" >> $GITHUB_OUTPUT build-rs: needs: should-deploy-rs |