Sha256: 44453a30f3b4cf561e4eff42913171a13920cc5cd10f9894f47bb90e8a93197e

Contents?: true

Size: 873 Bytes

Versions: 7

Compression:

Stored size: 873 Bytes

Contents

name: Spec and publish

on:
  push:
    tags:
     - 'v*'
jobs:
  test:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby-version: ['3.0']

    steps:
      - uses: actions/checkout@v3
      - name: Set up Ruby ${{ matrix.ruby-version }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby-version }}
          bundler-cache: true
      - name: Update system gems
        run: gem update --system
      - name: Install dependencies
        run: bundle install
      - name: Run tests
        run: bundle exec rake

      - name: Publish Gem
        if: contains(github.ref, 'refs/tags/v')
        uses: cadwallion/publish-rubygems-action@master
        env:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
          RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
          RELEASE_COMMAND: bundle exec rake release

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cfndsl-1.6.0 .github/workflows/spec_publish.yml
cfndsl-1.5.0 .github/workflows/spec_publish.yml
cfndsl-1.4.0 .github/workflows/spec_publish.yml
cfndsl-1.3.9 .github/workflows/spec_publish.yml
cfndsl-1.3.8 .github/workflows/spec_publish.yml
cfndsl-1.3.7 .github/workflows/spec_publish.yml
cfndsl-1.3.6 .github/workflows/spec_publish.yml