Sha256: b04bd677810bf745bf9a5e052ffb9610944e36edf64196b96d579bdc17902487

Contents?: true

Size: 888 Bytes

Versions: 4

Compression:

Stored size: 888 Bytes

Contents

name: Release

on:
  push:
    tags:
      - '*'

jobs:
  release:
    runs-on: ubuntu-latest
    if: github.repository_owner == 'voxpupuli'
    steps:
      - uses: actions/checkout@v2
      - name: Install Ruby 3.0
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.0'
          bundler: 'none'
      - name: Build gem
        run: gem build *.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/${{ github.repository_owner }} *.gem

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
beaker-rspec-7.1.0 .github/workflows/release.yml
beaker-module_install_helper-1.0.0 .github/workflows/release.yml
beaker-rspec-7.0.0 .github/workflows/release.yml
puppet-lint-lookup_in_parameter-check-1.0.0 .github/workflows/release.yml