This reverts commit 06be30876fcd5fb8c186b137ef9760e440146273.
This commit is contained in:
parent
06be30876f
commit
0436224fa1
44
.github/workflows/template-build-macos-arm64.yml
vendored
44
.github/workflows/template-build-macos-arm64.yml
vendored
@ -41,7 +41,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-silicon
|
runs-on: macos-latest
|
||||||
environment: production
|
environment: production
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@ -55,15 +55,9 @@ jobs:
|
|||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
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
|
- name: Install jq
|
||||||
# uses: dcarbone/install-jq-action@v2.0.1
|
uses: dcarbone/install-jq-action@v2.0.1
|
||||||
|
|
||||||
- name: Update app version based on latest release tag with build number
|
- name: Update app version based on latest release tag with build number
|
||||||
if: inputs.public_provider != 'github'
|
if: inputs.public_provider != 'github'
|
||||||
@ -101,17 +95,17 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
VERSION_TAG: ${{ inputs.new_version }}
|
VERSION_TAG: ${{ inputs.new_version }}
|
||||||
|
|
||||||
# - name: Get Cer for code signing
|
- name: Get Cer for code signing
|
||||||
# run: base64 -d <<< "$CODE_SIGN_P12_BASE64" > /tmp/codesign.p12
|
run: base64 -d <<< "$CODE_SIGN_P12_BASE64" > /tmp/codesign.p12
|
||||||
# shell: bash
|
shell: bash
|
||||||
# env:
|
env:
|
||||||
# CODE_SIGN_P12_BASE64: ${{ secrets.CODE_SIGN_P12_BASE64 }}
|
CODE_SIGN_P12_BASE64: ${{ secrets.CODE_SIGN_P12_BASE64 }}
|
||||||
|
|
||||||
# - uses: apple-actions/import-codesign-certs@v2
|
- uses: apple-actions/import-codesign-certs@v2
|
||||||
# continue-on-error: true
|
continue-on-error: true
|
||||||
# with:
|
with:
|
||||||
# p12-file-base64: ${{ secrets.CODE_SIGN_P12_BASE64 }}
|
p12-file-base64: ${{ secrets.CODE_SIGN_P12_BASE64 }}
|
||||||
# p12-password: ${{ secrets.CODE_SIGN_P12_PASSWORD }}
|
p12-password: ${{ secrets.CODE_SIGN_P12_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and publish app to cloudflare r2 or github artifactory
|
- name: Build and publish app to cloudflare r2 or github artifactory
|
||||||
if: inputs.public_provider != 'github'
|
if: inputs.public_provider != 'github'
|
||||||
@ -125,9 +119,9 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# CSC_LINK: "/tmp/codesign.p12"
|
CSC_LINK: "/tmp/codesign.p12"
|
||||||
# CSC_KEY_PASSWORD: ${{ secrets.CODE_SIGN_P12_PASSWORD }}
|
CSC_KEY_PASSWORD: ${{ secrets.CODE_SIGN_P12_PASSWORD }}
|
||||||
# CSC_IDENTITY_AUTO_DISCOVERY: "true"
|
CSC_IDENTITY_AUTO_DISCOVERY: "true"
|
||||||
APPLE_ID: ${{ secrets.APPLE_ID }}
|
APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||||
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
|
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
|
||||||
APP_PATH: "."
|
APP_PATH: "."
|
||||||
@ -143,9 +137,9 @@ jobs:
|
|||||||
make build-and-publish
|
make build-and-publish
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# CSC_LINK: "/tmp/codesign.p12"
|
CSC_LINK: "/tmp/codesign.p12"
|
||||||
# CSC_KEY_PASSWORD: ${{ secrets.CODE_SIGN_P12_PASSWORD }}
|
CSC_KEY_PASSWORD: ${{ secrets.CODE_SIGN_P12_PASSWORD }}
|
||||||
# CSC_IDENTITY_AUTO_DISCOVERY: "true"
|
CSC_IDENTITY_AUTO_DISCOVERY: "true"
|
||||||
APPLE_ID: ${{ secrets.APPLE_ID }}
|
APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||||
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
|
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
|
||||||
APP_PATH: "."
|
APP_PATH: "."
|
||||||
|
|||||||
@ -159,4 +159,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: latest-mac-x64
|
name: latest-mac-x64
|
||||||
path: ./electron/dist/latest-mac.yml
|
path: ./electron/dist/latest-mac.yml
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user