Skip to content

Commit 5094232

Browse files
authored
added signing
1 parent 6ebf69b commit 5094232

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/release.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ jobs:
1919
brew install graphicsmagick imagemagick
2020
npm install --global create-dmg
2121
pod install
22+
23+
# Import Certificates for sign
24+
- name: Import Certificates
25+
id: import_certs
26+
uses: apple-actions/import-codesign-certs@v1
27+
with:
28+
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
29+
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
2230

2331
# Build Thinkpad Assistant
2432
- name: Build
@@ -28,8 +36,7 @@ jobs:
2836
-destination "platform=macOS"
2937
-configuration Release
3038
-derivedDataPath build
31-
CODE_SIGN_IDENTITY=""
32-
CODE_SIGNING_REQUIRED=NO
39+
CODE_SIGN_IDENTITY=- | xcpretty
3340

3441
# Uncomment when code signing is finished
3542
#- name: Export

0 commit comments

Comments
 (0)