Sha256: 9e1a003e8112796fba1560ac759b424d6b3df7f192cc8efe813b77711188bb3d
Contents?: true
Size: 834 Bytes
Versions: 1
Compression:
Stored size: 834 Bytes
Contents
name: Ruby Gem publish on: [workflow_dispatch] jobs: build: name: Build + Publish runs-on: ubuntu-latest permissions: contents: read packages: write steps: - uses: actions/checkout@v2 - name: Set up Ruby 2.7 uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 # Bundle install - run: bundle install # Publish to Ruby Gems - 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 cat $HOME/.gem/credentials gem build *.gemspec gem push *.gem env: GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-zones-0.0.12 | .github/workflows/gem-push.yml |