Sha256: 9e6912a6a2ae5cd3c0564cf402d78b6911d794835cc37f01e7d76eb2d5e7e434

Contents?: true

Size: 695 Bytes

Versions: 11

Compression:

Stored size: 695 Bytes

Contents

name: Ruby Gem

on:
  push:
    branches: [ "main" ]

jobs:
  build:
    name: Build + Publish
    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write

    steps:
    - uses: actions/checkout@v3
    - name: Set up Ruby 3.1
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 3.1.x

    - name: Publish to RubyGems
      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_AUTH_TOKEN}}"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
nubank_sdk-0.7.9 .github/workflows/gem-push.yml
nubank_sdk-0.7.8 .github/workflows/gem-push.yml
nubank_sdk-0.7.7 .github/workflows/gem-push.yml
nubank_sdk-0.7.6 .github/workflows/gem-push.yml
nubank_sdk-0.7.5 .github/workflows/gem-push.yml
nubank_sdk-0.7.4 .github/workflows/gem-push.yml
nubank_sdk-0.7.3 .github/workflows/gem-push.yml
nubank_sdk-0.7.2 .github/workflows/gem-push.yml
nubank_sdk-0.7.1 .github/workflows/gem-push.yml
nubank_sdk-0.7.0 .github/workflows/gem-push.yml
nubank_sdk-0.6.1 .github/workflows/gem-push.yml