Sha256: 6aa8884615ca98da8328882ec4db4d043779aa5b1989611c751b6d7d07855465

Contents?: true

Size: 542 Bytes

Versions: 11

Compression:

Stored size: 542 Bytes

Contents

name: Publish Gem

on:
  push:
    tags:
      - v[0-9]*.[0-9]*.[0-9]*

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Publish to RubyGems
        run: |
          mkdir -p $HOME/.gem
          touch $HOME/.gem/credentials
          chmod 0600 $HOME/.gem/credentials
          printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials
          gem build *.gemspec
          gem push *.gem
        env:
          RUBYGEMS_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mkit-0.9.0 .github/workflows/publish.yml
mkit-0.8.0 .github/workflows/publish.yml
mkit-0.7.2 .github/workflows/publish.yml
mkit-0.7.1 .github/workflows/publish.yml
mkit-0.7.0 .github/workflows/publish.yml
mkit-0.6.3 .github/workflows/publish.yml
mkit-0.6.2 .github/workflows/publish.yml
mkit-0.6.1 .github/workflows/publish.yml
mkit-0.6.0 .github/workflows/publish.yml
mkit-0.5.0 .github/workflows/publish.yml
mkit-0.4.3 .github/workflows/publish.yml