diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94140e8de..b55d953c7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,6 @@ jobs: - name: Create Config File run: | cat << EOF > Config/Release.xcconfig - #include "Pods/Target Support Files/Pods-PennMobile/Pods-PennMobile.release.xcconfig" LABS_OAUTH_CLIENT_ID = ${{ secrets.LABS_OAUTH_CLIENT_ID }} APP_NAME = Penn Mobile APP_BUNDLE_ID = org.pennlabs.PennMobile @@ -33,13 +32,6 @@ jobs: cat << EOF > api_key.json ${{ secrets.FASTLANE_JSON_KEY }} EOF - - name: Cache CocoaPods - uses: actions/cache@v2 - with: - path: Pods - key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} - restore-keys: | - ${{ runner.os }}-pods- - name: Cache SPM uses: actions/cache@v2 with: @@ -50,15 +42,8 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '2.6.8' + ruby-version: '3.3.0' 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 env: BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}