diff --git a/.github/workflows/build-app-wxpython.yml b/.github/workflows/build-app-wxpython.yml index 9dd7012d9..73cdda72a 100644 --- a/.github/workflows/build-app-wxpython.yml +++ b/.github/workflows/build-app-wxpython.yml @@ -31,7 +31,7 @@ jobs: run: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 Build-Binary.command --reset_binaries --branch "${{ env.branch }}" --commit "${{ env.commiturl }}" --commit_date "${{ env.commitdate }}" --key "${{ env.ANALYTICS_KEY }}" --site "${{ env.ANALYTICS_SITE }}" - name: Import Certificate - if: !test -f ~/Library/Keychains/login.keychain-db || !security find-certificate -c "${{ env.MAC_CODESIGN_IDENTITY }}" ~/Library/Keychains/login.keychain-db + if: (!test -f ~/Library/Keychains/login.keychain-db || !security find-certificate -c "${{ env.MAC_CODESIGN_IDENTITY }}" ~/Library/Keychains/login.keychain-db) uses: apple-actions/import-codesign-certs@v1 with: p12-file-base64: ${{ secrets.MAC_CODESIGN_CERT }} diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index a02bcc59f..1a62e264e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -10,11 +10,6 @@ jobs: build: name: Validate runs-on: x86_64_monterey - if: github.repository_owner == 'dortania' - env: - branch: ${{ github.ref }} - commiturl: ${{ github.event.head_commit.url }}${{ github.event.release.html_url }} - commitdate: ${{ github.event.head_commit.timestamp }}${{ github.event.release.published_at }} steps: - uses: actions/checkout@v3 - name: Validate