Sha256: 153f918989c018f07fffa2d0416b4fd5dd2b480471301cdeb75cbf889361019c

Contents?: true

Size: 872 Bytes

Versions: 12

Compression:

Stored size: 872 Bytes

Contents

name: Publish to RubyGems

on:
  [workflow_dispatch]

jobs:
  release:
    runs-on: ubuntu-latest
    permissions:
      contents: write

    steps:
    - uses: actions/checkout@v2
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
    - name: Set up Ruby 2.6
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.6
        bundler-cache: true
    - name: Publish to RubyGems
      run: |
        git config --local user.email "action@github.com"
        git config --local user.name "GitHub Action"

        mkdir -p $HOME/.gem
        touch $HOME/.gem/credentials
        chmod 0600 $HOME/.gem/credentials
        printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_TOKEN}\n" > $HOME/.gem/credentials
        bundle exec rake release
      env:
        RUBYGEMS_API_TOKEN: "${{secrets.RUBYGEMS_API_TOKEN}}"
        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
pbmenv-0.1.10 .github/workflows/release.yml
pbmenv-0.1.9 .github/workflows/release.yml
pbmenv-0.1.8 .github/workflows/release.yml
procon_bypass_man-0.1.16.1 .github/workflows/release.yml
pbmenv-0.1.7 .github/workflows/release.yml
procon_bypass_man-0.1.16 .github/workflows/release.yml
procon_bypass_man-0.1.15 .github/workflows/release.yml
pbmenv-0.1.6 .github/workflows/release.yml
pbmenv-0.1.5 .github/workflows/release.yml
pbmenv-0.1.4 .github/workflows/release.yml
pbmenv-0.1.3 .github/workflows/release.yml
pbmenv-0.1.2 .github/workflows/release.yml