Sha256: 3762812fcfc71ea54d563d30f9478bcf6863b1009779e4691fec269e0715683a
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
# .github/workflows/release.yml name: release on: push: branches: - main jobs: release-please: runs-on: ubuntu-latest steps: # Checkout code - uses: actions/checkout@v4 - uses: googleapis/release-please-action@v4 id: release with: release-type: ruby package-name: gazer bump-minor-pre-major: true bump-patch-for-minor-pre-major: true version-file: "lib/gzr/version.rb" token: ${{ secrets.LOS_AUTO_BOT_RP_TOKEN }} # Setup ruby if a release was created - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7.7 if: ${{ steps.release.outputs.release_created }} # Bundle install - run: bundle install if: ${{ steps.release.outputs.release_created }} # Publish - name: publish gem 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: # Make sure to update the secret name # if yours isn't named RUBYGEMS_AUTH_TOKEN GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}" if: ${{ steps.release.outputs.release_created }}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gazer-0.3.18 | .github/workflows/release.yml |
gazer-0.3.17 | .github/workflows/release.yml |