Sha256: 31f6f3586104fb9aa635198c4122f121f842a1127d00b64345ed07679c5df5f3
Contents?: true
Size: 895 Bytes
Versions: 2
Compression:
Stored size: 895 Bytes
Contents
name: Publish to RubyGems on: [workflow_dispatch] jobs: release: runs-on: ubuntu-latest timeout-minutes: 5 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pbmenv-0.1.12 | .github/workflows/release.yml |
pbmenv-0.1.11 | .github/workflows/release.yml |