Skip to content

Bump to 2.3.0 and release. #33

Bump to 2.3.0 and release.

Bump to 2.3.0 and release. #33

Workflow file for this run

name: Building and Pushing Gems
on:
push:
tags:
- '*'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
jobs:
CI:
uses: enspirit/talktome/.github/workflows/integration.yml@master
Rubygem:
needs: CI
runs-on: ubuntu-latest
steps:
- uses: act10ns/slack@v1
with:
status: starting
channel: '#opensource-cicd'
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Release Gem
uses: cadwallion/publish-rubygems-action@master
id: gem-push
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
RELEASE_COMMAND: make gem.publish
- uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#opensource-cicd'
if: always()
Github-release:
needs: CI
runs-on: ubuntu-latest
steps:
- uses: act10ns/slack@v1
with:
status: starting
channel: '#opensource-cicd'
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Build package
run: make gem
id: build-package
- uses: ncipollo/release-action@v1
id: create-release
with:
artifacts: "pkg/talktome*"
token: ${{ secrets.GITHUB_TOKEN }}
- uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#opensource-cicd'
if: always()