Sha256: b8b5731878dafe8465cf8d9279e975095469400d1f1955955d9fd2a04b643a09

Contents?: true

Size: 891 Bytes

Versions: 18

Compression:

Stored size: 891 Bytes

Contents

name: Release

on:
  push:
    tags:
      - '*'

jobs:
  release:
    runs-on: ubuntu-latest
    if: github.repository == 'voxpupuli/facterdb'
    steps:
      - uses: actions/checkout@v2
      - name: Install Ruby 3.0
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.0'
        env:
          BUNDLE_WITHOUT: release
      - 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/voxpupuli *.gem

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
facterdb-1.21.0 .github/workflows/release.yml
facterdb-1.20.0 .github/workflows/release.yml
facterdb-1.19.0 .github/workflows/release.yml
facterdb-1.18.0 .github/workflows/release.yml
facterdb-1.17.0 .github/workflows/release.yml
facterdb-1.16.1 .github/workflows/release.yml
facterdb-1.16.0 .github/workflows/release.yml
facterdb-1.15.0 .github/workflows/release.yml
facterdb-1.14.0 .github/workflows/release.yml
facterdb-1.13.0 .github/workflows/release.yml
facterdb-1.12.2 .github/workflows/release.yml
facterdb-1.12.1 .github/workflows/release.yml
facterdb-1.12.0 .github/workflows/release.yml
facterdb-1.11.0 .github/workflows/release.yml
facterdb-1.10.1 .github/workflows/release.yml
facterdb-1.10.0 .github/workflows/release.yml
facterdb-1.9.0 .github/workflows/release.yml
facterdb-1.8.0 .github/workflows/release.yml