Bump racksh to 1.0.2 #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- v* | |
workflow_dispatch: | |
jobs: | |
release: | |
if: github.repository == 'spinels/racksh' | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # for trusted publishing | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: ruby | |
- uses: rubygems/[email protected] | |
- run: ruby -v | |
# ensure gem can be built and installed, push to rubygems.org | |
- run: gem build *.gemspec | |
- run: gem install *.gem | |
- run: gem push *.gem |