.github/workflows/gem-workflow.yml in ledger_sync-2.0.2 vs .github/workflows/gem-workflow.yml in ledger_sync-2.2.0
- old
+ new
@@ -6,11 +6,11 @@
types: [created]
jobs:
rubocop:
strategy:
matrix:
- ruby-version: [2.6.3, 2.6.6, 2.7.1]
+ ruby-version: [2.5.8, 2.6.3, 2.6.6, 2.7.1, 3.0.0]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
@@ -22,11 +22,11 @@
bundler-cache: true
- run: bundle exec rubocop
rspec:
strategy:
matrix:
- ruby-version: [2.6.3, 2.6.6, 2.7.1]
+ ruby-version: [2.5.8, 2.6.3, 2.6.6, 2.7.1, 3.0.0]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
@@ -44,11 +44,11 @@
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
flag-name: run-${{ matrix.ruby-version }}
publish:
runs-on: ubuntu-latest
- needs: ['rubocop', 'rspec']
+ needs: ["rubocop", "rspec"]
if: github.event_name == 'release' && github.event.action == 'created'
steps:
- name: Checkout
uses: actions/checkout@v2
with:
@@ -66,6 +66,6 @@
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
- GEM_HOST_API_KEY: "${{ secrets.RUBY_GEM_KEY }}"
\ No newline at end of file
+ GEM_HOST_API_KEY: "${{ secrets.RUBY_GEM_KEY }}"