Sha256: fee6a22c65233df88e91dfc8c8d1db533a47fdcff75a55be703ec7a528a46485
Contents?: true
Size: 875 Bytes
Versions: 23
Compression:
Stored size: 875 Bytes
Contents
name: Publish Gem on: push: tags: - "v*" workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: "3.0" - name: Setup Release Credentials env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} run: | mkdir -p $HOME/.gem touch $HOME/.gem/credentials chmod 600 $HOME/.gem/credentials echo "---" >$HOME/.gem/credentials echo ":github: Bearer ${GITHUB_TOKEN}" >> $HOME/.gem/credentials - name: Publish Gem to GitHub Packages run: | export OWNER=$( echo ${{ github.repository }} | cut -d "/" -f 1 ) gem build *.gemspec gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
Version data entries
23 entries across 23 versions & 1 rubygems