Sha256: 8116b1971ab3243445dd45c980e08893c0ce7fd18755bf1e41ae2dfb4aabd416

Contents?: true

Size: 1 KB

Versions: 13

Compression:

Stored size: 1 KB

Contents

name: release

on:
  push:
    branches:
      - master

jobs:
  release-please:
    runs-on: ubuntu-latest
    steps:
      - uses: google-github-actions/release-please-action@v3
        id: release
        with:
          release-type: ruby
          bump-minor-pre-major: true
          version-file: "lib/pumi/version.rb"

      - uses: actions/checkout@v3
        if: ${{ steps.release.outputs.release_created }}

      - uses: ruby/setup-ruby@v1
        if: ${{ steps.release.outputs.release_created }}

      - run: bundle install
        if: ${{ steps.release.outputs.release_created }}

      - name: publish gem
        if: ${{ steps.release.outputs.release_created }}
        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.GEM_HOST_API_KEY}}"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pumi-0.20.2 .github/workflows/release.yml
pumi-0.20.1 .github/workflows/release.yml
pumi-0.20.0 .github/workflows/release.yml
pumi-0.19.0 .github/workflows/release.yml
pumi-0.18.0 .github/workflows/release.yml
pumi-0.17.0 .github/workflows/release.yml
pumi-0.16.0 .github/workflows/release.yml
pumi-0.15.0 .github/workflows/release.yml
pumi-0.14.0 .github/workflows/release.yml
pumi-0.13.2 .github/workflows/release.yml
pumi-0.13.1 .github/workflows/release.yml
pumi-0.13.0 .github/workflows/release.yml
pumi-0.12.2 .github/workflows/release.yml