Skip to content

deploy-tvos

deploy-tvos #7

Workflow file for this run

name: deploy-tvos
on:
workflow_dispatch:
push:
tags:
- "tvos/v*"
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: List Xcode installations for debugging
run: sudo ls -1 /Applications | grep "Xcode"
- name: Select Xcode 15.2
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
- name: Put api key into .p8 file
run: echo "${{ secrets.APPLE_STORE_API_KEY_RAW }}" > fastlane/api_key.p8
- name: Put cert into .cer file
run: echo "${{ secrets.CERTIFICATE_BASE64 }}" | base64 -d > fastlane/certificate.cer
- env:
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
RUDDER_WRITE_KEY: ${{ secrets.RUDDER_WRITE_KEY }}
RUDDER_DATAPLANE_URL: ${{ secrets.RUDDER_DATAPLANE_URL }}
NPAW_ACCOUNT_CODE: ${{ secrets.NPAW_ACCOUNT_CODE }}
UNLEASH_URL: ${{ vars.UNLEASH_URL }}
UNLEASH_CLIENT_KEY: ${{ vars.UNLEASH_CLIENT_KEY }}
run: |
eval "$(ssh-agent -s)"
bundle install
fastlane beta --verbose