Skip to content

Update changelog

Update changelog #23

Workflow file for this run

name: Build and Release Tagged Versions
on:
push:
tags:
- 'v*'
jobs:
release:
name: Create Release and Publish Gem
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0
bundler-cache: true
- name: Build gem
run: |
gem build *.gemspec
echo "::set-output name=gem_file::$(ls *.gem)"
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.KITCHEN_YANSIBLE_PROVISIONER }}
files: |
kitchen-yansible-pusher-*.gem
- name: Release Gem
if: contains(github.ref, 'refs/tags/v')
uses: cadwallion/publish-rubygems-action@master
env:
GITHUB_TOKEN: ${{secrets.KITCHEN_YANSIBLE_PROVISIONER}}
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
RELEASE_COMMAND: rake release