Skip to content

Update activesupport gem version #14

Update activesupport gem version

Update activesupport gem version #14

Workflow file for this run

name: Release Ruby Gem
on:
release:
types: [published]
jobs:
test:
uses: ./.github/workflows/ci.yml
secrets: inherit
build:
needs: test
runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.6"
- name: Build
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}}"
- name: Notify Slack
uses: adamkdean/[email protected]
with:
channel: '#ops'
username: 'GitHub Actions'
color: 'good'
text: 'A new version of the orcid_client gem has been released.'