Skip to content

Commit faa3fc4

Browse files
authored
Merge pull request #261 from bugsnag/je/plat-15250
Ensure we only install Bumpsnag for GHA
2 parents b7fe8fb + f8ac14a commit faa3fc4

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/update-dependencies.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: update-dependencies
2-
32
permissions: read-all
43

54
on:
@@ -41,7 +40,7 @@ jobs:
4140
- run: git submodule update --init --recursive
4241

4342
- name: Install ruby
44-
uses: ruby/setup-ruby@v1
43+
uses: ruby/setup-ruby@a4effe49ee8ee5b8b5091268c473a4628afb5651 # v1.245.0
4544
with:
4645
ruby-version: 2.7
4746

Gemfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
source 'https://rubygems.org'
22

3-
gem 'bugsnag-maze-runner', '~>10.0'
4-
gem 'cocoapods'
5-
63
# Only install bumpsnag if we're using Github actions
7-
unless ENV['GITHUB_ACTIONS'].nil?
4+
if ENV['GITHUB_ACTIONS'].nil?
5+
gem 'bugsnag-maze-runner', '~>10.0'
6+
gem 'cocoapods'
7+
else
88
gem 'bumpsnag', git: 'https://github.com/bugsnag/platforms-bumpsnag', branch: 'main'
99
end

0 commit comments

Comments
 (0)