Skip to content

Commit

Permalink
Update CI/CD scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-pod committed Mar 4, 2024
1 parent 91ba857 commit 9077272
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 21 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
runs-on: macOS-latest

steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
- uses: actions/checkout@v3
- name: Bundle install
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.5
bundler: "Gemfile.lock"
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Bundle install
run: bundle install
- name: Publish release
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
Expand Down
21 changes: 6 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,15 @@ jobs:
runs-on: macOS-latest

steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
- uses: actions/checkout@v3
- name: Bundle install
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.5
bundler: "Gemfile.lock"
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Ruby cache
uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle check || bundle install
- name: Pods cache
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: Pods
key: ${{ runner.os }}-cocoapods-${{ hashFiles('**/Podfile.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ lane :tests do
configuration: "Debug",
scheme: "NavigationBarExtension-Example",
clean: true,
devices: ["iPhone 8"]
devices: ["iPhone SE (3rd generation)"]
)
end

Expand Down

0 comments on commit 9077272

Please sign in to comment.