mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-11-28 10:59:20 +08:00
Compare commits
4 Commits
1.0.58
...
test-flyci
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c48f8b02bd | ||
|
|
243ac9c37d | ||
|
|
af60c79e48 | ||
|
|
39359a893e |
8
.github/workflows/build-macosx-amd64.yml
vendored
8
.github/workflows/build-macosx-amd64.yml
vendored
@@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-macosx-amd64:
|
build-macosx-amd64:
|
||||||
runs-on: macos-12
|
runs-on: flyci-macos-large-latest-m1
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Set up Java
|
- name: Set up Java
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '8'
|
java-version: '11'
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
- name: Install Apple certificate
|
- name: Install Apple certificate
|
||||||
env:
|
env:
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
|
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
|
||||||
|
|
||||||
# import certificate from secrets
|
# import certificate from secrets
|
||||||
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode --output $CERTIFICATE_PATH
|
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
|
||||||
|
|
||||||
# create temporary keychain
|
# create temporary keychain
|
||||||
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
|
|
||||||
# import api key from secrets
|
# import api key from secrets
|
||||||
mkdir "${HOME}/private_keys"
|
mkdir "${HOME}/private_keys"
|
||||||
echo -n "$APPLE_API_KEY_BASE64" | base64 --decode --output "${HOME}/private_keys/AuthKey_$APPLE_API_KEY_NAME.p8"
|
echo -n "$APPLE_API_KEY_BASE64" | base64 --decode -o "${HOME}/private_keys/AuthKey_$APPLE_API_KEY_NAME.p8"
|
||||||
-
|
-
|
||||||
name: Build
|
name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
PYTHON=/usr/local/Frameworks/Python.framework/Versions/3.12/bin/python3.12
|
|
||||||
|
|
||||||
brew install ninja
|
brew install ninja
|
||||||
"$PYTHON" -m pip install --ignore-installed six
|
|
||||||
|
|
||||||
"$PYTHON" -m pip list
|
|
||||||
echo "from six.moves import configparser" | "$PYTHON" && echo "Success importing stuff from six moves python module"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user