Sha256: eb9efd54f566d2cc7cfafe231a99c9844507460ded7636ce6e777e065a314cf5

Contents?: true

Size: 749 Bytes

Versions: 2

Compression:

Stored size: 749 Bytes

Contents

name: Release

on:
  push:
    tags:
      - v*.*.*
jobs:
  publish:
    name: Release to RubyGems
    runs-on: ubuntu-20.04

    steps:
      - name: Wait for tests to succeed
        uses: lewagon/wait-on-check-action@v1.3.1
        with:
          ref: 'refs/heads/main'
          running-workflow-name: 'Release to RubyGems'
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          wait-interval: 10
          allowed-conclusions: success

      - uses: actions/checkout@v4

      - name: Release Gem
        uses: simplyqio/publish-rubygems-action@2.0.0
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
          RELEASE_COMMAND: "rake build && gem push pkg/*.gem"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dnsimple-8.7.1 .github/workflows/release.yml
dnsimple-8.7.0 .github/workflows/release.yml