Skip to content

Rename folders to remove spaces (#958) #60

Rename folders to remove spaces (#958)

Rename folders to remove spaces (#958) #60

Workflow file for this run

name: On push
on:
push:
branches:
- master
jobs:
test-publish:
name: Test + Publish
runs-on: macos-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Checkout
uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: ${{ runner.os }}-gems-
- uses: actions/cache@v2
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: ${{ runner.os }}-pods-
- name: Install
run: |
cp mock-Secrets.plist the-blue-alliance-ios/Secrets.plist
bundle install
bundle exec pod install --repo-update
bundle exec fastlane run setup_ci
bundle exec fastlane setup_secrets
env:
TBA_API_KEY: ${{ secrets.TBA_API_KEY }}
- name: fastlane test
if: ${{ !contains(github.event.head_commit.message, '[clowntown]') }}
run: bundle exec fastlane test
- name: fastlane beta_ci
if: ${{ contains(github.event.head_commit.message, '[beta]') }}
run: bundle exec fastlane beta_ci
env:
APPLE_KEY_ID: ${{ secrets.APPLE_KEY_ID }}
APPLE_ISSUER_ID: ${{ secrets.APPLE_ISSUER_ID }}
APPLE_KEY_CONTENT: ${{ secrets.APPLE_KEY_CONTENT }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
MATCH_GIT_REPO: ${{ secrets.MATCH_GIT_REPO }}
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
SLACK_URL: ${{ secrets.SLACK_URL }}
- name: fastlane app_store
if: ${{ contains(github.event.head_commit.message, '[app_store]') }}
run: bundle exec fastlane app_store
env:
APPLE_KEY_ID: ${{ secrets.APPLE_KEY_ID }}
APPLE_ISSUER_ID: ${{ secrets.APPLE_ISSUER_ID }}
APPLE_KEY_CONTENT: ${{ secrets.APPLE_KEY_CONTENT }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
MATCH_GIT_REPO: ${{ secrets.MATCH_GIT_REPO }}
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
SLACK_URL: ${{ secrets.SLACK_URL }}