Sha256: ea986ab551d458843d3810aa80cb89a23c157181b12daa57b3c5232ded18b280

Contents?: true

Size: 1.22 KB

Versions: 10

Compression:

Stored size: 1.22 KB

Contents

name: Git Release

on:
  push:
    tags:
      - "v[0-9]+.[0-9]+.[0-9]+"
  workflow_dispatch:

jobs:
  Git_Release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Github Release
        uses: anton-yurchenko/git-release@v5.0
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
          DRAFT_RELEASE: "false"
          PRE_RELEASE: "false"
          CHANGELOG_FILE: "CHANGELOG.md"
          ALLOW_EMPTY_CHANGELOG: "true"

  deploy_prod:
    environment:
      name: production_feeds
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.1'
          bundler-cache: true # runs 'bundle install' and caches installed gems automatically
          bundler: 'latest'
          cache-version: 1
      - run: bundle exec rake
      - name: Publish to RubyGems
        run: |
          mkdir -p $HOME/.gem
          touch $HOME/.gem/credentials
          chmod 0600 $HOME/.gem/credentials
          printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
          gem build *.gemspec
          gem push *.gem
        env:
          GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
microsoft_kiota_authentication_oauth-0.7.0 .github/workflows/release.yml
microsoft_kiota_serialization_json-0.8.0 .github/workflows/release.yml
microsoft_kiota_authentication_oauth-0.6.0 .github/workflows/release.yml
microsoft_kiota_faraday-0.11.0 .github/workflows/release.yml
microsoft_kiota_abstractions-0.13.0 .github/workflows/release.yml
microsoft_kiota_authentication_oauth-0.5.0 .github/workflows/release.yml
microsoft_kiota_faraday-0.10.0 .github/workflows/release.yml
microsoft_kiota_serialization_json-0.7.0 .github/workflows/release.yml
microsoft_kiota_faraday-0.9.0 .github/workflows/release.yml
microsoft_kiota_abstractions-0.12.0 .github/workflows/release.yml