-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request janhq#2916 from janhq/dev
Release/0.4.13 to main
- Loading branch information
Showing
98 changed files
with
1,817 additions
and
525 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
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 |
---|---|---|
|
@@ -41,7 +41,7 @@ on: | |
|
||
jobs: | ||
build-macos: | ||
runs-on: macos-silicon | ||
runs-on: macos-latest | ||
environment: production | ||
permissions: | ||
contents: write | ||
|
@@ -55,15 +55,9 @@ jobs: | |
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 20 | ||
- name: Unblock keychain | ||
run: | | ||
security unlock-keychain -p ${{ secrets.KEYCHAIN_PASSWORD }} ~/Library/Keychains/login.keychain-db | ||
# - uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: '3.11' | ||
|
||
# - name: Install jq | ||
# uses: dcarbone/[email protected] | ||
- name: Install jq | ||
uses: dcarbone/[email protected] | ||
|
||
- name: Update app version based on latest release tag with build number | ||
if: inputs.public_provider != 'github' | ||
|
@@ -101,17 +95,17 @@ jobs: | |
env: | ||
VERSION_TAG: ${{ inputs.new_version }} | ||
|
||
# - name: Get Cer for code signing | ||
# run: base64 -d <<< "$CODE_SIGN_P12_BASE64" > /tmp/codesign.p12 | ||
# shell: bash | ||
# env: | ||
# CODE_SIGN_P12_BASE64: ${{ secrets.CODE_SIGN_P12_BASE64 }} | ||
- name: Get Cer for code signing | ||
run: base64 -d <<< "$CODE_SIGN_P12_BASE64" > /tmp/codesign.p12 | ||
shell: bash | ||
env: | ||
CODE_SIGN_P12_BASE64: ${{ secrets.CODE_SIGN_P12_BASE64 }} | ||
|
||
# - uses: apple-actions/import-codesign-certs@v2 | ||
# continue-on-error: true | ||
# with: | ||
# p12-file-base64: ${{ secrets.CODE_SIGN_P12_BASE64 }} | ||
# p12-password: ${{ secrets.CODE_SIGN_P12_PASSWORD }} | ||
- uses: apple-actions/import-codesign-certs@v2 | ||
continue-on-error: true | ||
with: | ||
p12-file-base64: ${{ secrets.CODE_SIGN_P12_BASE64 }} | ||
p12-password: ${{ secrets.CODE_SIGN_P12_PASSWORD }} | ||
|
||
- name: Build and publish app to cloudflare r2 or github artifactory | ||
if: inputs.public_provider != 'github' | ||
|
@@ -125,9 +119,9 @@ jobs: | |
fi | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# CSC_LINK: "/tmp/codesign.p12" | ||
# CSC_KEY_PASSWORD: ${{ secrets.CODE_SIGN_P12_PASSWORD }} | ||
# CSC_IDENTITY_AUTO_DISCOVERY: "true" | ||
CSC_LINK: "/tmp/codesign.p12" | ||
CSC_KEY_PASSWORD: ${{ secrets.CODE_SIGN_P12_PASSWORD }} | ||
CSC_IDENTITY_AUTO_DISCOVERY: "true" | ||
APPLE_ID: ${{ secrets.APPLE_ID }} | ||
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }} | ||
APP_PATH: "." | ||
|
@@ -143,9 +137,9 @@ jobs: | |
make build-and-publish | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# CSC_LINK: "/tmp/codesign.p12" | ||
# CSC_KEY_PASSWORD: ${{ secrets.CODE_SIGN_P12_PASSWORD }} | ||
# CSC_IDENTITY_AUTO_DISCOVERY: "true" | ||
CSC_LINK: "/tmp/codesign.p12" | ||
CSC_KEY_PASSWORD: ${{ secrets.CODE_SIGN_P12_PASSWORD }} | ||
CSC_IDENTITY_AUTO_DISCOVERY: "true" | ||
APPLE_ID: ${{ secrets.APPLE_ID }} | ||
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }} | ||
APP_PATH: "." | ||
|
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
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
Oops, something went wrong.