Sha256: 62f8721ee131f4daa772b949a41e390b03769afb162f89555c315244772cf758
Contents?: true
Size: 1.22 KB
Versions: 5
Compression:
Stored size: 1.22 KB
Contents
name: Release Ruby Gem on: release: types: [published] jobs: build: runs-on: ubuntu-latest env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} steps: - uses: actions/checkout@v2 - name: Set up Ruby 2.7 uses: actions/setup-ruby@v1 with: ruby-version: 2.7.x - name: Build and test run: | gem install bundler bundle install bundle exec rspec spec # - name: Code Climate Test Reporter # uses: aktions/codeclimate-test-reporter@v1 # with: # codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }} # command: after-build - 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/simple-slack-notify@1.0.4 with: channel: '#ops' username: 'GitHub Actions' color: 'good' text: 'A new version of the briard gem has been released.'
Version data entries
5 entries across 5 versions & 1 rubygems