Fixed Staff Attendance Error #789
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Swift Lint and Build | |
on: | |
#push: | |
#branches: | |
#- '**' | |
pull_request: | |
branches: ["dev"] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: GitHub Action for SwiftLint (Only files changed in the PR) | |
uses: norio-nomura/[email protected] | |
env: | |
DIFF_BASE: ${{ github.base_ref }} | |
with: | |
args: --strict | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: insert key | |
run: | | |
API_KEY="${{ secrets.API_KEY }}" | |
sed -i '' -e "s/placeholder/$API_KEY/" HackIllinois/GoogleService-Info.plist | |
- name: Build | |
run: xcodebuild clean build -project HackIllinois.xcodeproj -scheme HackIllinois -destination "platform=iOS Simulator,name=iPhone 11" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO ARCHS="arm64" -quiet |