weechatRN

Weechat relay client for iOS using websockets https://github.com/mhoran/weechatRN
git clone http://git.hanabi.in/repos/weechatRN.git
Log | Files | Refs | README | LICENSE

publish.yml (1703B)


      1 name: Publish to TestFlight
      2 
      3 on:
      4   release:
      5     types: [created]
      6   workflow_dispatch:
      7 
      8 jobs:
      9   build-app:
     10     name: Build iOS app
     11     runs-on: ubuntu-latest
     12     steps:
     13       - uses: actions/checkout@v2
     14       - name: Set up Node
     15         uses: actions/setup-node@v1
     16         with:
     17           node-version: 14
     18           cache: yarn
     19       - name: Set up Expo
     20         uses: expo/expo-github-action@v6
     21         with:
     22           expo-version: 4.x
     23           expo-cache: true
     24           username: ${{secrets.EXPO_CLI_USERNAME}}
     25           password: ${{secrets.EXPO_CLI_PASSWORD}}
     26       - run: yarn install
     27       - run: expo build:ios --non-interactive
     28         env:
     29           EXPO_APPLE_ID: ${{secrets.EXPO_APPLE_ID}}
     30           EXPO_APPLE_PASSWORD: ${{secrets.EXPO_APPLE_PASSWORD}}
     31       - name: Download from Expo
     32         run: curl -O `expo url:ipa`
     33       - name: Upload binary as artifact
     34         uses: actions/upload-artifact@v2.2.4
     35         with:
     36           name: binary
     37           path: '*.ipa'
     38   publish-to-testflight:
     39     name: Publish to TestFlight
     40     runs-on: macos-latest
     41     needs: build-app
     42     steps:
     43       - uses: actions/checkout@v2
     44       - name: Download binary from artifacts
     45         uses: actions/download-artifact@v2.0.10
     46         with:
     47           name: binary
     48       - name: Install fastlane
     49         run: gem install fastlane -N
     50       - name: Upload to fastlane
     51         run: fastlane pilot upload
     52         env:
     53             FASTLANE_USER: ${{secrets.EXPO_APPLE_ID}}
     54             FASTLANE_PASSWORD: ${{secrets.EXPO_APPLE_PASSWORD}}
     55             FASTLANE_SESSION: ${{secrets.FASTLANE_SESSION}}
     56             FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD}}