diff --git a/.github/workflows/assemble_ios_debug.yml b/.github/workflows/assemble_ios_debug.yml index 7e83ff9..c0b6f8e 100644 --- a/.github/workflows/assemble_ios_debug.yml +++ b/.github/workflows/assemble_ios_debug.yml @@ -14,13 +14,13 @@ on: # 工作流环境变量 env: # 应用的application_id - APP_ID: com.taro.demo + APP_ID: ${{secrets.APP_ID}} APP_NAME: Taro Demo VERSION_NUMBER: 1.0.0 BUILD_TYPE: debug - TEAM_ID: XXXXXXXXXX - PROVISIONING_PROFILE_SPECIFIER: DEV_profile - CODE_SIGN_IDENTITY: iPhone Developer + TEAM_ID: ${{secrets.TEAM_ID}} + PROVISIONING_PROFILE_SPECIFIER: ${{secrets.DEBUG_PROVISIONING_PROFILE_SPECIFIER}} + CODE_SIGN_IDENTITY: Apple Development SIGNING_CERTIFICATE_P12_DATA: ${{secrets.DEBUG_SIGNING_CERTIFICATE_P12_DATA}} SIGNING_CERTIFICATE_PASSWORD: ${{secrets.DEBUG_SIGNING_CERTIFICATE_PASSWORD}} PROVISIONING_PROFILE_DATA: ${{secrets.DEBUG_PROVISIONING_PROFILE_DATA}} diff --git a/.github/workflows/assemble_ios_release.yml b/.github/workflows/assemble_ios_release.yml index a5e44be..6af4b5d 100644 --- a/.github/workflows/assemble_ios_release.yml +++ b/.github/workflows/assemble_ios_release.yml @@ -14,14 +14,14 @@ on: # 工作流环境变量 env: # 应用的application_id - APP_ID: com.taro.demo + APP_ID: ${{secrets.APP_ID}} APP_NAME: Taro Demo VERSION_NUMBER: 1.0.0 BUILD_NUMBER: 1.0.0.0 BUILD_TYPE: release - TEAM_ID: XXXXXXXXXX - PROVISIONING_PROFILE_SPECIFIER: Product_profile - CODE_SIGN_IDENTITY: iPhone Distribution + TEAM_ID: ${{secrets.TEAM_ID}} + PROVISIONING_PROFILE_SPECIFIER: ${{secrets.RELEASE_PROVISIONING_PROFILE_SPECIFIER}} + CODE_SIGN_IDENTITY: Apple Distribution SIGNING_CERTIFICATE_P12_DATA: ${{secrets.RELEASE_SIGNING_CERTIFICATE_P12_DATA}} SIGNING_CERTIFICATE_PASSWORD: ${{secrets.RELEASE_SIGNING_CERTIFICATE_PASSWORD}} PROVISIONING_PROFILE_DATA: ${{secrets.RELEASE_PROVISIONING_PROFILE_DATA}}