Sha256: 6381b1ba33ef292b7f715f2be278bad360a3c60e6e34b21985c67695e5677a1d

Contents?: true

Size: 927 Bytes

Versions: 5

Compression:

Stored size: 927 Bytes

Contents

name: Release

on:
  push:
    tags:
      - '*'

jobs:
  release:
    runs-on: ubuntu-latest
    if: github.repository_owner == 'voxpupuli'
    steps:
      - uses: actions/checkout@v3
      - name: Install Ruby 3.0
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.0'
        env:
          BUNDLE_WITHOUT: release:development:rubocop
      - name: Build gem
        run: gem build --strict --verbose *.gemspec
      - name: Publish gem to rubygems.org
        run: gem push *.gem
        env:
          GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
      - name: Setup GitHub packages access
        run: |
          mkdir -p ~/.gem
          echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" >> ~/.gem/credentials
          chmod 0600 ~/.gem/credentials
      - name: Publish gem to GitHub packages
        run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beaker-5.6.0 .github/workflows/release.yml
beaker-5.5.0 .github/workflows/release.yml
beaker-5.4.0 .github/workflows/release.yml
beaker-5.3.1 .github/workflows/release.yml
beaker-5.3.0 .github/workflows/release.yml