Sha256: 14f7c7bbbecec4f473c6b7e4f2a958207837d400edf17ca788561ca061a29349

Contents?: true

Size: 865 Bytes

Versions: 1

Compression:

Stored size: 865 Bytes

Contents

trigger:
- main
- feature/*

pool:
  vmImage: 'ubuntu-latest'

jobs:
  - job: Building
    variables:
      - group: SAUDEID-GEM
      - name: GEM_HOST_API_KEY
    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.6 azure-pipelines.yaml