Sha256: 672f5c001487eabd74a0e823a51ce16820756243dd9d56c50310be95c5f4db35

Contents?: true

Size: 854 Bytes

Versions: 1

Compression:

Stored size: 854 Bytes

Contents

trigger:
- main
- feature/*

pool:
  vmImage: 'ubuntu-latest'

variables:
  - group: SAUDEID-GEM
  - name: GEM_HOST_API_KEY

jobs:
  - job: Building
    steps:
      - task: UseRubyVersion@0
        inputs:
          versionSpec: '>= 2.7.1'
          addToPath: true
        displayName: 'Installing Ruby'

      - script: |
          which ruby

      - script: |
          gem install bundler
          bundle install --retry=3 --jobs=4
        displayName: 'Installing Bundler and Gems' 

      - script: |
          gem build SaudeiD.gemspec
          GEM_VERSION=$(gem build SaudeiD.gemspec | grep -P 'File: \K.+' -o)
          echo $GEM_VERSION
          export GEM_HOST_API_KEY=rubygems_456f96adb26d6740394dd2c07d85ec10b0a6f2d77cf8dae2
          echo $GEM_HOST_API_KEY
          gem push $GEM_VERSION
        displayName: Build Gem and Publish Gem

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
SaudeiD-0.2.7 azure-pipelines.yaml