an open source Navidrome client written in Swift — https://dub.sh/getflo
at develop 49 lines 1.5 kB view raw
1name: ios-deployment 2 3on: 4 push: 5 branches: 6 - 'release/*' 7 - 'develop' 8 9jobs: 10 check_draft: 11 runs-on: ubuntu-latest 12 outputs: 13 is_draft: ${{ github.event.pull_request.draft }} 14 steps: 15 - run: echo "checking PR status" 16 17 deploy: 18 needs: check_draft 19 if: github.event_name == 'push' && (github.event_name == 'pull_request' && needs.check_draft.outputs.is_draft != 'true') 20 runs-on: macos-latest 21 env: 22 APPLE_ID: ${{ secrets.APPLE_ID }} 23 ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }} 24 ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }} 25 ASC_KEY_CONTENT: ${{ secrets.ASC_KEY_CONTENT }} 26 MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }} 27 MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} 28 29 steps: 30 - uses: actions/checkout@v4 31 - uses: maxim-lobanov/setup-xcode@v1 32 with: 33 xcode-version: '15.4' 34 - uses: ruby/setup-ruby@v1 35 with: 36 ruby-version: 3.2.1 37 bundler-cache: true 38 - run: | 39 if [[ "${{ github.event_name }}" == "pull_request" ]]; then 40 bundle exec fastlane ios beta 41 elif [[ "${{ github.event_name }}" == "push" ]]; then 42 bundle exec fastlane ios beta public:true 43 fi 44 - uses: actions/upload-artifact@v4 45 with: 46 name: appstore ipa & dsym 47 path: | 48 ${{ github.workspace }}/fastlane/builds/flo.ipa 49 ${{ github.workspace }}/fastlane/builds/flo.app.dSYM.zip