Sha256: 4b2a0814f90683b533a5e21530645a839d3f9a3f5d2cab78f9e9bd7417bae9ac
Contents?: true
Size: 791 Bytes
Versions: 6
Compression:
Stored size: 791 Bytes
Contents
name: Build and Publish on: release: types: [published] repository_dispatch: types: [publish] jobs: build-and-publish: runs-on: ubuntu-latest permissions: packages: write contents: read steps: - uses: actions/checkout@v4 - name: Set up Ruby 3.0 uses: ruby/setup-ruby@v1 with: ruby-version: 3.0 - run: bundle install - 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
6 entries across 6 versions & 1 rubygems