chore: ignore PR when Pre-releasing

This commit is contained in:
Larvan2 2023-09-18 19:36:11 +08:00
parent 7c21768e99
commit fd96efd456

View file

@ -209,7 +209,7 @@ jobs:
Upload-Prerelease:
permissions: write-all
if: ${{ github.ref_type=='branch' }}
if: ${{ github.ref_type=='branch' && github.event_name != 'pull_request' }}
needs: [Build]
runs-on: ubuntu-latest
steps: