Sha256: a36a5d14b998f301ad91b85a1a150f7f183ea01f0ed79bb4e99fd45bd3e7780a

Contents?: true

Size: 1.28 KB

Versions: 14

Compression:

Stored size: 1.28 KB

Contents

name: CI
# actions ref: https://github.com/fac/ruby-gem-push-action
# https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  # build:
  #   runs-on: ubuntu-latest

    # steps: # (your tests go here)

  release:
    name: Gem / Release
    # needs: test         # Only release IF the tests pass
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1.111.0
      with:
          ruby-version: '2.7.2' # Not needed with a .ruby-version file
          bundler-cache: true # runs 'bundle install' and caches installed gems automatically
    - uses: fac/ruby-gem-setup-credentials-action@v2
      with:
        token: ${{ secrets.GH_TOKEN }}

    - name: Build Gem
      # run: bundle exec rake build
      run: gem build

    # Release production gem version from default branch
    - name: Release Gem
      if:   github.ref == 'refs/heads/main'
      uses: fac/ruby-gem-push-action@v2
      with:
        gem-glob: '*.gem'
        key: github

    # PR branch builds will release pre-release gems
    # - name: Pre-Release Gem
    #   if:   github.ref != 'refs/heads/main'
    #   uses: fac/ruby-gem-push-action@v2
    #   with:
    #     key: github
    #     pre-release: true

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
solidus_bactracs-4.0.0 .github/workflows/release.yml
solidus_bactracs-3.5.2 .github/workflows/release.yml
solidus_bactracs-3.5.1 .github/workflows/release.yml
solidus_bactracs-3.5.0 .github/workflows/release.yml
solidus_bactracs-3.4.0 .github/workflows/release.yml
solidus_bactracs-3.3.2 .github/workflows/release.yml
solidus_bactracs-3.3.1 .github/workflows/release.yml
solidus_bactracs-3.3.0 .github/workflows/release.yml
solidus_bactracs-3.2.2 .github/workflows/release.yml
solidus_bactracs-3.2.1 .github/workflows/release.yml
solidus_bactracs-3.2.0 .github/workflows/release.yml
solidus_bactracs-3.1.2 .github/workflows/release.yml
solidus_bactracs-3.1.1 .github/workflows/release.yml
solidus_bactracs-3.1.0 .github/workflows/release.yml