Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JHawk0224 authored Oct 14, 2023
1 parent 2c8f61a commit 877b22d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:
steps:
- name: Select Xcode 15
# https://stackoverflow.com/questions/65821440/how-to-select-xcode-version-in-fastlane-when-using-github-actions
run: |
ls /Applications/
sudo xcode-select -s '/Applications/Xcode_15.0.app/Contents/Developer'
run: sudo xcode-select -s '/Applications/Xcode_15.0.app/Contents/Developer'
- name: Checkout repository
uses: actions/checkout@v2
- name: Create Config File
Expand Down Expand Up @@ -56,6 +54,9 @@ jobs:
bundler-cache: true
- name: Download pods
run: bundle exec pod install
- name: Fix pod script
# https://stackoverflow.com/questions/63533819/rsync-error-some-files-could-not-be-transferred-code-23-command-phasescriptex
run: find Pods/Target\ Support\ Files/Pods-PennMobile -name '*-frameworks.sh' -exec sed -i '' 's|source="\$(readlink "\${source}")"|source="\$(readlink -f "\${source}")"|g' {} +
- name: Linter
run: Pods/SwiftLint/swiftlint PennMobile/*
- name: Install the Apple certificate and provisioning profile
Expand Down Expand Up @@ -94,4 +95,4 @@ jobs:
run: bundle exec fastlane ci_beta
- name: Show logs
if: always()
run: cat /Users/runner/Library/Logs/gym/PennMobile-PennMobile.log
run: tail -n 500 /Users/runner/Library/Logs/gym/PennMobile-PennMobile.log

0 comments on commit 877b22d

Please sign in to comment.