Skip to content

Commit 4551519

Browse files
committed
Remove macOS codesigning and notarization for now
1 parent a39654a commit 4551519

1 file changed

Lines changed: 0 additions & 30 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -75,36 +75,6 @@ jobs:
7575
- name: Build
7676
run: cargo build --release --target ${{ matrix.target }} ${{ matrix.extra-cargo-flags }}
7777

78-
- name: Prepare Apple signing credentials
79-
if: runner.os == 'macOS'
80-
env:
81-
APPLE_CERTIFICATE_BASE64: ${{ secrets.APPLE_CERTIFICATE_BASE64 }}
82-
APPLE_API_KEY_BASE64: ${{ secrets.APPLE_API_KEY_BASE64 }}
83-
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
84-
APPLE_API_ISSUER_ID: ${{ secrets.APPLE_API_ISSUER_ID }}
85-
run: |
86-
echo "$APPLE_CERTIFICATE_BASE64" | base64 --decode > $RUNNER_TEMP/cert.p12
87-
echo "$APPLE_API_KEY_BASE64" | base64 --decode > $RUNNER_TEMP/api-key.p8
88-
89-
PRIVATE_KEY=$(cat $RUNNER_TEMP/api-key.p8)
90-
jq -n \
91-
--arg key_id "$APPLE_API_KEY_ID" \
92-
--arg issuer_id "$APPLE_API_ISSUER_ID" \
93-
--arg private_key "$PRIVATE_KEY" \
94-
'{key_id: $key_id, issuer_id: $issuer_id, private_key: $private_key}' \
95-
> $RUNNER_TEMP/api-key.json
96-
97-
- name: Codesign and notarize binary
98-
if: runner.os == 'macOS'
99-
uses: indygreg/apple-code-sign-action@v1
100-
with:
101-
input_path: target/${{ matrix.target }}/release/no
102-
p12_file: ${{ runner.temp }}/cert.p12
103-
p12_password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
104-
notarize: true
105-
app_store_connect_api_key_json_file: ${{ runner.temp }}/api-key.json
106-
sign_args: --code-signature-flags runtime
107-
10878
- name: Package (tar.gz)
10979
if: matrix.archive == 'tar.gz'
11080
run: |

0 commit comments

Comments
 (0)