Sha256: f9687b80d2b6aa2226920fd9311c42c491a1b93c0cafa521a5ec2fe99c57eeec

Contents?: true

Size: 978 Bytes

Versions: 1

Compression:

Stored size: 978 Bytes

Contents

name: Publish to RubyGems.org
on:
  push:
    tags:
      - '*'
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: '3.1'
    - name: Publish to RubyGems.org
      uses: dawidd6/action-publish-gem@v1
      with:
        api_key: ${{ secrets.RUBYGEMS_API_KEY }}
    - name: Set release version
      run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
    - name: Announcement
      uses: zulip/github-actions-zulip/send-message@v1
      with:
        email: ${{ secrets.ZULIP_USERNAME }}
        api-key: ${{ secrets.ZULIP_API_KEY }}
        organization-url: 'https://asciidoctor.zulipchat.com'
        to: '279652'
        type: 'stream'
        topic: 'releases'
        content: |
          Asciidoctor-FB2 ${{ env.RELEASE_VERSION }} is out!
          https://github.com/asciidoctor/asciidoctor-fb2/releases/tag/${{ env.RELEASE_VERSION }}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-fb2-0.7.0 .github/workflows/release.yml