Skip to content

Commit

Permalink
feat: remove codesigning from github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
EETagent committed Feb 2, 2024
1 parent a636116 commit 0aa85db
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
MACOS_DMG_ARTIFACT: "Send.dmg"
MACOS_ZIP_ARTIFACT: "Send.zip"
XCBUILD_PATH: "build/Build/Products/Release"
CODE_SIGN_IDENTITY: "Apple Development: [email protected] (JLHQ66WC7C)"
#CODE_SIGN_IDENTITY: "Apple Development: [email protected] (JLHQ66WC7C)"

jobs:
ReleaseCI:
Expand Down Expand Up @@ -56,21 +56,21 @@ jobs:
with:
xcode-version: latest

- name: Import Certificates πŸ“œ
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
# - name: Import Certificates πŸ“œ
# uses: apple-actions/import-codesign-certs@v2
# with:
# p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
# p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}

- name: Release Build πŸ”¨
run: |
xcodebuild -scheme ${MACOS_APP_NAME} -configuration Release -derivedDataPath build -disableAutomaticPackageResolution CODE_SIGN_IDENTITY="${CODE_SIGN_IDENTITY}" | xcpretty && exit ${PIPESTATUS[0]}
- name: Resign app πŸ”‘ (Temp fix for Sparkle updating)
run: codesign -f -s "${CODE_SIGN_IDENTITY}" "${XCBUILD_PATH}/${MACOS_APP_ARTIFACT}"
# - name: Resign app πŸ”‘ (Temp fix for Sparkle updating)
# run: codesign -f -s "${CODE_SIGN_IDENTITY}" "${XCBUILD_PATH}/${MACOS_APP_ARTIFACT}"

- name: Check Send signature πŸ”‘
run: codesign --verify -vvvv --deep --strict "${XCBUILD_PATH}/${MACOS_APP_ARTIFACT}"
# - name: Check Send signature πŸ”‘
# run: codesign --verify -vvvv --deep --strict "${XCBUILD_PATH}/${MACOS_APP_ARTIFACT}"

- name: Create Disk Image πŸ’Ώ
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
with:
xcode-version: latest

- name: Import Certificates πŸ“œ
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
# - name: Import Certificates πŸ“œ
# uses: apple-actions/import-codesign-certs@v2
# with:
# p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
# p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}

- name: Debug Build πŸ”¨
run: xcodebuild -scheme Send -destination "platform=macOS" -configuration Debug CODE_SIGN_IDENTITY=- | xcpretty && exit ${PIPESTATUS[0]}
run: xcodebuild -scheme Send -destination "platform=macOS" -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]}

0 comments on commit 0aa85db

Please sign in to comment.