Sha256: 5d96b30967ed3bd50748aeb6a06751a4bfa8d7cdd2bc4b73dfe9548cbbcc23ac

Contents?: true

Size: 776 Bytes

Versions: 4

Compression:

Stored size: 776 Bytes

Contents

name: Release Gem
on:
  # Triggers the workflow on push with a tag prefixed with v*
  push:
    tags:
      - 'v*'

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.7
          bundler-cache: true
      - name: Publish gem
        env:
          GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
        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

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
stealth-twilio-1.6.0 .github/workflows/release.yml
stealth-bandwidth-1.1.0 .github/workflows/release.yml
varsity-0.0.3 .github/workflows/release.yml
varsity-0.0.2 .github/workflows/release.yml