revert: 取消自动前面

This commit is contained in:
Super12138 2025-01-24 10:59:40 +08:00 committed by GitHub
parent 39e0f33e7f
commit 2a2bb2f827
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ jobs:
run: chmod +x gradlew
- name: Write sign info
if: github.event_name != 'pull_request' && github.repository == 'Super12138/ToDo'
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && github.repository == 'Super12138/ToDo'
run: |
if [ ! -z "${{ secrets.SIGNING_KEY }}" ]; then
echo releaseStorePassword='${{ secrets.KEY_STORE_PASSWORD }}' >> gradle.properties