Skip to content

Commit

Permalink
ci(release): use default ruby-version
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-rom committed Dec 30, 2021
1 parent 9ca33ae commit ad58255
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ on:

jobs:
release-please:

# Run on latest ubuntu distribution
runs-on: ubuntu-latest

# Enviroment Variables
env:
GEM_NAME: "warframe"
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}

steps:
# start release-please
- uses: GoogleCloudPlatform/release-please-action@v2
Expand All @@ -25,18 +25,16 @@ jobs:
package-name: ${{ env.GEM_NAME }}
bump-minor-pre-major: true
version-file: "lib/${{ env.GEM_NAME }}/version.rb"
# Check out this repo.

# Check out this repo.
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}

# Set up ruby.
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
if: ${{ steps.release.outputs.release_created }}

# Build and push to rubygems.org
# Build and push to rubygems.org
- name: Release Gem
run: |
gem install bundler
Expand Down

0 comments on commit ad58255

Please # to comment.