From 8d8e537cd4cc00abbf237be8275c1b52e7759dfe Mon Sep 17 00:00:00 2001 From: ParticleG Date: Mon, 25 Oct 2021 14:15:48 +0800 Subject: [PATCH] - Add send email support --- .github/actions/build-ios/action.yml | 9 ++++++++- .github/workflows/test.yml | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/actions/build-ios/action.yml b/.github/actions/build-ios/action.yml index 608d7a70..235127d5 100644 --- a/.github/actions/build-ios/action.yml +++ b/.github/actions/build-ios/action.yml @@ -46,7 +46,12 @@ inputs: FASTLANE_MATCH_TOKEN: required: true description: "Fastlane Match Github token" - + FASTLANE_REPORT_EMAIL: + required: false + description: "Fastlane Report email" + FASTLANE_REPORT_PWD: + required: false + description: "Fastlane Report password" runs: using: "composite" steps: @@ -86,6 +91,8 @@ runs: KEYCHAIN_PWD: '${{ inputs.APPLE_KEYCHAIN_PWD }}' MATCH_PASSWORD: '${{ inputs.FASTLANE_MATCH_PWD }}' MATCH_TOKEN: '${{ inputs.FASTLANE_MATCH_TOKEN }}' + FASTLANE_REPORT_EMAIL: '${{ inputs.FASTLANE_REPORT_EMAIL }}' + FASTLANE_REPORT_PWD: '${{ inputs.FASTLANE_REPORT_PWD }}' - name: Move ipa shell: bash run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 120c3e24..9bc3b019 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -142,6 +142,8 @@ jobs: APPLE_KEYCHAIN_PWD: '${{ secrets.APPLE_KEYCHAIN_PWD }}' FASTLANE_MATCH_PWD: '${{ secrets.FASTLANE_MATCH_PWD }}' FASTLANE_MATCH_TOKEN: '${{ secrets.FASTLANE_MATCH_TOKEN }}' + FASTLANE_REPORT_EMAIL: '${{ secrets.FASTLANE_REPORT_EMAIL }}' + FASTLANE_REPORT_PWD: '${{ secrets.FASTLANE_REPORT_PWD }}' - name: Upload uses: actions/upload-artifact@v2 with: