Skip to content

Commit

Permalink
⚗ [CI] Try fix MacOS signing
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Oct 30, 2024
1 parent 34c6fbb commit e633b63
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/release_installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ jobs:
fail-fast: false
matrix:
config:
- {
name: Windows,
os: windows-latest,
cmake_configure_args: -D CMAKE_C_COMPILER=cl CMAKE_CXX_COMPILER=cl -G Ninja,
cpack_generator: NSIS,
installer_name: Coollab-Launcher-Windows.exe,
}
- {
name: Linux,
os: ubuntu-latest,
cmake_configure_args: -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ -G Ninja,
cpack_generator: STGZ,
installer_name: Coollab-Launcher-Linux.sh,
}
# - {
# name: Windows,
# os: windows-latest,
# cmake_configure_args: -D CMAKE_C_COMPILER=cl CMAKE_CXX_COMPILER=cl -G Ninja,
# cpack_generator: NSIS,
# installer_name: Coollab-Launcher-Windows.exe,
# }
# - {
# name: Linux,
# os: ubuntu-latest,
# cmake_configure_args: -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ -G Ninja,
# cpack_generator: STGZ,
# installer_name: Coollab-Launcher-Linux.sh,
# }
- {
name: MacOS,
os: macos-latest,
Expand All @@ -49,12 +49,12 @@ jobs:
MACOS_CERT_KEYCHAIN_PASSWORD: ${{ secrets.MACOS_CERT_KEYCHAIN_PASSWORD }}
run: |
echo "$MACOS_CERT_P12" | base64 --decode > macos_cert.p12
security create-keychain -p "$MACOS_CERT_KEYCHAIN_PASSWORD" build.keychain
security import macos_cert.p12 -k build.keychain -P "$MACOS_CERT_PASSWORD" -T /usr/bin/codesign
security list-keychains -s build.keychain
security set-keychain-settings -t 3600 -u build.keychain
security unlock-keychain -p "$MACOS_CERT_KEYCHAIN_PASSWORD" build.keychain
security find-identity -v -p codesigning build.keychain
# security create-keychain -p "$MACOS_CERT_KEYCHAIN_PASSWORD" build.keychain
# security import macos_cert.p12 -k build.keychain -P "$MACOS_CERT_PASSWORD" -T /usr/bin/codesign
# security list-keychains -s build.keychain
# security set-keychain-settings -t 3600 -u build.keychain
# security unlock-keychain -p "$MACOS_CERT_KEYCHAIN_PASSWORD" build.keychain
# security find-identity -v -p codesigning build.keychain
- uses: actions/checkout@v3
with:
submodules: recursive
Expand Down

0 comments on commit e633b63

Please sign in to comment.