commit f953b45b4ea425b1a743752ef88c50cfff09402c parent 2a6e545f7ec10bd27f3ea83e3eed3cfb4c0c495d Author: Matthew Horan <matt@matthoran.com> Date: Fri, 18 Sep 2020 17:39:40 -0400 Add workflow for publishing to TestFlight Diffstat:
A | .github/workflows/publish.yml | | | 29 | +++++++++++++++++++++++++++++ |
1 file changed, 29 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml @@ -0,0 +1,29 @@ +name: Publish to TestFlight + +on: + release: + types: [created] + +jobs: + publish-to-testflight: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 10 + - uses: expo/expo-github-action@v5 + with: + expo-version: 3.x + expo-username: ${{secrets.EXPO_CLI_USERNAME}} + expo-password: ${{secrets.EXPO_CLI_PASSWORD}} + - run: yarn install + - run: expo build:ios --non-interactive --apple-id ${{secrets.EXPO_APPLE_ID}} + env: + EXPO_APPLE_PASSWORD: ${{secrets.EXPO_APPLE_PASSWORD}} + FASTLANE_SESSION: ${{secrets.FASTLANE_SESSION}} + - run: expo upload:ios --non-interactive --app-name "WeechatRemote" --apple-id ${{secrets.EXPO_APPLE_ID}} + env: + EXPO_APPLE_PASSWORD: ${{secrets.EXPO_APPLE_PASSWORD}} + FASTLANE_SESSION: ${{secrets.FASTLANE_SESSION}} + FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD}}