Sha256: 18019bda8d135469591da1f083d82bdd9b2df69208a7a962555759acd90432a0

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

name: New Relic Fluentd Output Plugin - Merge to master

on:
  push:
    branches:
      - master

jobs:
  ci:
    name: Continuous Delivery pipeline
    runs-on: ubuntu-20.04

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Setup Ruby, bundler and install dependencies
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ruby-2.7.2
          bundler-cache: true # runs 'bundle install' and caches installed gems automatically

      - name: Run unit tests
        run: bundle exec rake

      - name: Publish Unit Test Results
        uses: EnricoMi/publish-unit-test-result-action@v1.5
        if: always()
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          files: '**/TEST-*.xml'

      - name: Build gem
        run: gem build newrelic-fluentd-output.gemspec

      - name: Publish fluent-plugin-newrelic to rubygems.org
        env:
          GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
        run: |
          gem push fluent-plugin-newrelic-*.gem

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-newrelic-1.2.3 .github/workflows/merge-to-master.yml