Minor fixes continued

This commit is contained in:
SoftFever 2023-08-27 16:35:50 +08:00
parent 17811c997b
commit ea46af82d6
3 changed files with 6 additions and 13 deletions

View file

@ -133,7 +133,7 @@ jobs:
# Thanks to RaySajuuk, it's working now
- name: Notarize the app
if: matrix.os == 'macos-12'
if: github.ref == 'refs/heads/main' && matrix.os == 'macos-12'
working-directory: ${{ github.workspace }}
run: |
xcrun notarytool store-credentials "notarytool-profile" --apple-id "${{ secrets.APPLE_DEV_ACCOUNT }}" --team-id "${{ secrets.TEAM_ID }}" --password "${{ secrets.APP_PWD }}"