Skip to content

Commit

Permalink
Fix deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanCooper9 committed Oct 1, 2022
1 parent b7b5ba0 commit 2fbece0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 18 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,24 @@ jobs:
runs-on: macos-12

steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.0'

- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # Number of commits to fetch. 0 indicates all history for all branches and tags.
fetch-depth: 0

- name: Cache Ruby Gems
uses: actions/cache@v3
- name: Setup SSH
uses: webfactory/[email protected]
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('.ruby-version') }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-${{ hashFiles('.ruby-version') }}-
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Bundle Install
run: |
eval "$(rbenv init -)"
bundle config --global jobs 4
bundle config path vendor/bundle
bundle install
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- name: Setup GoogleService-Info.plist
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ jobs:

- name: Homebrew
run: brew bundle

# - name: Test
# run: |
# xcodebuild test -scheme "Friendly Competitions" -destination "name=iPhone 13 Pro Max"

- name: Fastlane
run: |
Expand Down
2 changes: 1 addition & 1 deletion Friendly Competitions.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,8 @@
C155CA5827AB989D005F49F4 /* Friendly Competitions Tests */ = {
isa = PBXGroup;
children = (
C1300FDD27C96422002E2C52 /* Test Helpers */,
C1930E5527C6FBF500DB45C1 /* ResolverTests.swift */,
C1300FDD27C96422002E2C52 /* Test Helpers */,
C155CA6027AB997D005F49F4 /* Extensions */,
C155CA6F27AC1245005F49F4 /* Models */,
ED277B1B2838001A00DDF29A /* Views */,
Expand Down

0 comments on commit 2fbece0

Please sign in to comment.