.github/workflows/release.yml in asciidoctor-fb2-0.6.0 vs .github/workflows/release.yml in asciidoctor-fb2-0.7.0
- old
+ new
@@ -14,6 +14,19 @@
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 }}