Update LTK-CHILD-2.yml #199
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TestFairy-0.1 | ||
on: | ||
workflow_call: | ||
# inputs: | ||
# build_type: | ||
# description: "adasada" | ||
# type: string | ||
jobs: | ||
testfairy-upload: | ||
runs-on: macos-12 | ||
steps: | ||
- name: Git clone | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: rewardStyle/mobile-ios | ||
ssh-key: ${{ secrets.SSH_LTK }} | ||
- name: Dev build | ||
run: | | ||
git config --global --add url."git@github.com:".insteadOf "https://github.com/" | ||
echo "${{ secrets.SSH_LTK }}" > ~/.ssh/id_rsa | ||
chmod 600 ~/.ssh/id_rsa | ||
ssh-add ~/.ssh/id_rsa | ||
git clone https://github.com/rewardStyle/mobile-ios.git | ||
- name: git tags | ||
run: | | ||
bundle install | ||
bundle exec fastlane build_qa | ||
- name: Git Pull LFS | ||
run: | | ||
pwd | ||
ls -al | ||
git lfs pull -I '/Apps/Consumer/Shoproll/**' | ||
env: | ||
BUILD_TYPE: ${{ github.event.inputs.build_type }} | ||
- name: Updload IPA to TestFairy | ||
run: | | ||
bundle exec fastlane custom_lane | ||
env: | ||
FL_TESTFAIRY_API_KEY: ${{ secrets.TESTFAIRY_API_KEY }} | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: gym | ||
path: output/**/* | ||
- name: Post job cleanup | ||
run: git clean -ffdxq | ||
if: always() | ||
continue-on-error: true |