Sha256: f49a4fea4558e8bfbe7bd71c6ba3e0b0f44682d838a1529fe8e779a63912482a

Contents?: true

Size: 657 Bytes

Versions: 2

Compression:

Stored size: 657 Bytes

Contents

name: Publish to rubygems

on:
  push:
    tags:
      - v*
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
        - uses: actions/checkout@v3
        - uses: ruby/setup-ruby@v1
          with:
            ruby-version: 3.0.0
        - run: bundle install
        - name: publish gem
          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_API_KEY}}"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
etherlite-0.6.0 .github/workflows/publisher.yaml
etherlite-0.5.3 .github/workflows/publisher.yaml