Sha256: 338e7c7a641be5920dede3d8cc7140a83eb4b00ed0ff99ef7fd99c5753c59e46

Contents?: true

Size: 1.55 KB

Versions: 2

Compression:

Stored size: 1.55 KB

Contents

name: build
on:
  push:
    branches: [master]
jobs:
  jruby-gem-release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: jruby-9.4.1
          bundler-cache: true
      - uses: actions/setup-java@v2
        with:
          java-version: '8'
          distribution: 'adopt'
      - uses: actions/cache@v2
        with:
          path: ~/.m2
          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
          restore-keys: ${{ runner.os }}-m2
      - name: Run gem release
        run: bundle exec rake gem:release
        env:
          GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
  rubygems-release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.2.1
          bundler-cache: true
      - name: Run gem release
        run: bundle exec rake gem:release
        env:
          GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
  gem-smoke-test:
    runs-on: ubuntu-latest
    needs: [jruby-gem-release, rubygems-release]
    strategy:
      matrix:
        ruby-version: [3.2.1, jruby-9.4.1]
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby-version }}
          bundler-cache: true
      - run: |
          gem install gooddata
          ruby -e "require 'gooddata';GoodData.version"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gooddata-2.3.1-java .github/workflows/build.yml
gooddata-2.3.1 .github/workflows/build.yml