-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36c247f
commit 06f2346
Showing
3 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -420,18 +420,43 @@ jobs: | |
cd cortex-js | ||
make update-app-info | ||
- name: create installer macos | ||
if: runner.os == 'macOS' | ||
run: | | ||
cd cortex-js | ||
mkdir -p installer | ||
which cp | ||
which mv | ||
- name: copy bin file macos | ||
if: runner.os == 'macOS' | ||
uses: Lyoko-Jeremie/[email protected] | ||
with: | ||
source: "cortex-js/dist/cortexso-macos" | ||
target: "cortex-js/cortex" | ||
|
||
- name: Code Signing macOS | ||
if: runner.os == 'macOS' | ||
run: | | ||
cd cortex-js | ||
./dist/cortexso-macos --help | ||
echo "--------" | ||
./cortex --help | ||
make codesign-binary CODE_SIGN=true DEVELOPER_ID="${{ secrets.DEVELOPER_ID }}" | ||
- name: copy bin file macos | ||
if: runner.os == 'macOS' | ||
uses: Lyoko-Jeremie/[email protected] | ||
with: | ||
source: "cortex-js/cortex" | ||
target: "cortex-js/installer/cortex" | ||
|
||
- name: Create MacOS PKG Installer | ||
if: runner.os == 'macOS' | ||
run: | | ||
cd cortex-js | ||
mkdir installer | ||
cp cortex installer/cortex | ||
echo "--------" | ||
./installer/cortex --help | ||
pkgbuild --identifier ai.cortex.pkg --install-location ./usr/local/bin/ --root ./installer cortex-installer.pkg | ||
make codesign-installer CODE_SIGN=true DEVELOPER_ID="${{ secrets.DEVELOPER_ID }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters