diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6e210ab..27a6b01 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -47,11 +47,17 @@ jobs: run: | brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman - - name: Add MacOS certs - run: chmod +x tools/add-macos-cert.sh && ./tools/add-macos-cert.sh - env: - MACOS_CERT_P12: ${{ secrets.CSC_LINK }} - MACOS_CERT_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} + # - name: Add MacOS certs + # run: chmod +x tools/add-macos-cert.sh && ./tools/add-macos-cert.sh + # env: + # MACOS_CERT_P12: ${{ secrets.CSC_LINK }} + # MACOS_CERT_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} + + - name: Import codesign certs + uses: apple-actions/import-codesign-certs@v2 + with: + p12-file-base64: ${{ secrets.CSC_LINK }} + p12-password: ${{ secrets.CSC_KEY_PASSWORD }} - name: Run install run: yarn install