Sha256: 37c12c0cd5be109e0380a9ed591e8a2b4b1cbb7b0e5b30d130cde038a6dc98f0
Contents?: true
Size: 932 Bytes
Versions: 1
Compression:
Stored size: 932 Bytes
Contents
name: Test & Release on: push: branches: [ release ] jobs: build: name: Build + Publish runs-on: ubuntu-latest strategy: matrix: ruby-version: ['2.7', '3.0'] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests run: | bundle install bundle exec rspec - name: Publish to RubyGems run: | mkdir -p $HOME/.gem touch $HOME/.gem/credentials 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.RUBYGEMS_AUTH_TOKEN}}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jsom-pagination-0.2.0 | .github/workflows/gem-push.yml |