name: fastlane build on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: name: Build prod strategy: matrix: scheme: - "JellyfinPlayer" - "JellyfinPlayer tvOS" runs-on: macos-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Install Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Install VLCKit run: "carthage update" - name: Cache VLCKit uses: actions/cache@v2 with: path: Carthage key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }} restore-keys: | ${{ runner.os }}-carthage- - name: Cache SPM uses: actions/cache@v2 with: path: .build key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} restore-keys: | ${{ runner.os }}-spm- - name: Cache build output uses: actions/cache@v2 with: path: "~/Library/Developer/Xcode/DerivedData" key: ${{ runner.os }}-deriveddata - name: Build! run: | xcodebuild build -project "JellyfinPlayer.xcodeproj" \ -scheme "${{ matrix.scheme }}" \ CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO