Release #19
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: workflow_dispatch | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ruby/setup-ruby@master | |
- name: Install gems | |
run: bundle install | |
- name: Setup git config | |
run: | | |
# Setup the username and email to enable git tag creation | |
git config user.name "GitHub Actions Bot" | |
git config user.email "<>" | |
- name: Create release | |
run: | | |
gem_push=false bundle exec rake release | |
gem build *.gemspec | |
gem push *.gem | |
env: | |
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_KEY}} |