diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 8e6b31b..fb5e35c 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -75,13 +75,13 @@ jobs: if: | contains(matrix.os, 'latest') && contains(matrix.python-version, '3.9') && - ${{ github.event.name == 'push' }} && - ${{ github.ref == 'refs/heads/master' }} + github.event_name == 'push' && + github.ref == 'refs/heads/master' run: | git config --global user.name $GH_USERNAME git config --global user.email $GH_USERNAME@users.noreply.github.com git config --global pull.rebase false - git pull git add ${{ github.workspace }}/pyfunnel/lib git diff-index --quiet HEAD || git commit -m "Add ${{ matrix.os }} binaries" + git pull git push