Sha256: ffcec63d49224b2dea9039a737c9409788d7712d70432ea71f3ec396711099d3
Contents?: true
Size: 711 Bytes
Versions: 1
Compression:
Stored size: 711 Bytes
Contents
name: Ruby Gem on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: name: Build + Publish runs-on: ubuntu-latest permissions: contents: read packages: write steps: - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 - 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lib-dhcp-0.1.4 | .github/workflows/gem-push.yml |