Sha256: 0af54568407d420dadf1a8ef82f66c98ba685121ba28a2086fe26226666c1c8a

Contents?: true

Size: 876 Bytes

Versions: 11

Compression:

Stored size: 876 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 3.0.1
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.0.1
        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

11 entries across 11 versions & 1 rubygems

Version Path
procon_bypass_man-0.2.0 .github/workflows/release.yml
procon_bypass_man-0.1.23 .github/workflows/release.yml
procon_bypass_man-0.1.22 .github/workflows/release.yml
procon_bypass_man-0.1.21 .github/workflows/release.yml
procon_bypass_man-0.1.20.2 .github/workflows/release.yml
procon_bypass_man-0.1.20.1 .github/workflows/release.yml
procon_bypass_man-0.1.20 .github/workflows/release.yml
procon_bypass_man-0.1.19.1 .github/workflows/release.yml
procon_bypass_man-0.1.19 .github/workflows/release.yml
procon_bypass_man-0.1.18 .github/workflows/release.yml
procon_bypass_man-0.1.17 .github/workflows/release.yml