fix: ios publishing
This commit is contained in:
69
.github/workflows/build.yml
vendored
69
.github/workflows/build.yml
vendored
@@ -58,28 +58,28 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# - platform: android-apk
|
- platform: android-apk
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# targets: apk
|
targets: apk
|
||||||
|
|
||||||
# - platform: android-aab
|
- platform: android-aab
|
||||||
# os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
# targets: aab
|
targets: aab
|
||||||
|
|
||||||
# - platform: windows
|
- platform: windows
|
||||||
# os: windows-2019
|
os: windows-2019
|
||||||
# aarch: amd64
|
aarch: amd64
|
||||||
# targets: exe,msix
|
targets: exe,msix
|
||||||
|
|
||||||
# - platform: linux
|
- platform: linux
|
||||||
# os: ubuntu-22.04
|
os: ubuntu-22.04
|
||||||
# aarch: amd64
|
aarch: amd64
|
||||||
# targets: AppImage,deb,rpm
|
targets: AppImage,deb,rpm
|
||||||
|
|
||||||
# - platform: macos
|
- platform: macos
|
||||||
# os: macos-13
|
os: macos-13
|
||||||
# aarch: universal
|
aarch: universal
|
||||||
# targets: dmg,pkg
|
targets: dmg,pkg
|
||||||
|
|
||||||
- platform: ios
|
- platform: ios
|
||||||
os: macos-13
|
os: macos-13
|
||||||
@@ -167,39 +167,6 @@ jobs:
|
|||||||
[IO.File]::WriteAllBytes("windows\sign.pfx", [Convert]::FromBase64String("${{ secrets.WINDOWS_SIGNING_KEY }}"))
|
[IO.File]::WriteAllBytes("windows\sign.pfx", [Convert]::FromBase64String("${{ secrets.WINDOWS_SIGNING_KEY }}"))
|
||||||
(Get-Content "windows\packaging\msix\make_config.yaml") -replace '^certificate_password:.*$', 'certificate_password: ${{ secrets.WINDOWS_SIGNING_PASSWORD }}' | Set-Content "windows\packaging\msix\make_config.yaml"
|
(Get-Content "windows\packaging\msix\make_config.yaml") -replace '^certificate_password:.*$', 'certificate_password: ${{ secrets.WINDOWS_SIGNING_PASSWORD }}' | Set-Content "windows\packaging\msix\make_config.yaml"
|
||||||
|
|
||||||
# - name: Setup Apple certificate and provisioning profile
|
|
||||||
# if: ${{ inputs.upload-artifact && startsWith(matrix.os,'macos') }}
|
|
||||||
# env:
|
|
||||||
# BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }}
|
|
||||||
# P12_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }}
|
|
||||||
# BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.APPLE_BUILD_PROVISION_PROFILE_BASE64 }}
|
|
||||||
# BUILD_PACKET_TUNNEL_PROVISION_PROFILE_BASE64: ${{ secrets.APPLE_BUILD_PACKET_TUNNEL_PROVISION_PROFILE_BASE64 }}
|
|
||||||
# KEYCHAIN_PASSWORD: ${{ secrets.APPLE_KEYCHAIN_PASSWORD }}
|
|
||||||
# run: |
|
|
||||||
# # create variables
|
|
||||||
# CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
|
|
||||||
# PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision
|
|
||||||
# PP_PACKET_TUNNEL_PATH=$RUNNER_TEMP/build_pppt.mobileprovision
|
|
||||||
# KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
|
|
||||||
|
|
||||||
# # import certificate and provisioning profile from secrets
|
|
||||||
# echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
|
|
||||||
# echo -n "$BUILD_PROVISION_PROFILE_BASE64" | base64 --decode -o $PP_PATH
|
|
||||||
# echo -n "$BUILD_PACKET_TUNNEL_PROVISION_PROFILE_BASE64" | base64 --decode -o $PP_PACKET_TUNNEL_PATH
|
|
||||||
|
|
||||||
# # create temporary keychain
|
|
||||||
# security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
|
||||||
# security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
|
|
||||||
# security unlock-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
|
|
||||||
|
|
||||||
# # import certificate to keychain
|
|
||||||
# security import $CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
|
|
||||||
# security list-keychain -d user -s $KEYCHAIN_PATH
|
|
||||||
|
|
||||||
# # apply provisioning profile
|
|
||||||
# mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
|
|
||||||
# cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
|
|
||||||
# cp $PP_PACKET_TUNNEL_PATH ~/Library/MobileDevice/Provisioning\ Profiles
|
|
||||||
- name: Temporary disable Permission Handler for windows due to its issue in permission
|
- name: Temporary disable Permission Handler for windows due to its issue in permission
|
||||||
if: ${{ startsWith(matrix.platform,'windows') }}
|
if: ${{ startsWith(matrix.platform,'windows') }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user