[rubygems/rubygems] Indent github workflow steps for generated gems
https://github.com/rubygems/rubygems/commit/a1784e2efa
This commit is contained in:
parent
eb1e1d99b7
commit
caa6bcc91f
@ -17,21 +17,21 @@ jobs:
|
||||
- '<%= RUBY_VERSION %>'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
<%- if config[:ext] == 'rust' -%>
|
||||
- name: Set up Ruby & Rust
|
||||
uses: oxidize-rb/actions/setup-ruby-and-rust@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
bundler-cache: true
|
||||
cargo-cache: true
|
||||
rubygems: '<%= ::Gem.rubygems_version %>'
|
||||
- name: Set up Ruby & Rust
|
||||
uses: oxidize-rb/actions/setup-ruby-and-rust@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
bundler-cache: true
|
||||
cargo-cache: true
|
||||
rubygems: '<%= ::Gem.rubygems_version %>'
|
||||
<%- else -%>
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
bundler-cache: true
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
bundler-cache: true
|
||||
<%- end -%>
|
||||
- name: Run the default task
|
||||
run: bundle exec rake
|
||||
- name: Run the default task
|
||||
run: bundle exec rake
|
||||
|
Loading…
x
Reference in New Issue
Block a user