Skip to content

fix: Add initial files for testing GitHub Actions (#2) #1

fix: Add initial files for testing GitHub Actions (#2)

fix: Add initial files for testing GitHub Actions (#2) #1

Workflow file for this run

---
name: release-please
'on':
push:
branches: [main]
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: ruby
package-name: workflow-testing-gem
version-file: lib/kitchen/driver/version.rb
- name: Checkout
uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- name: Build and publish to GitHub Package
uses: actionshub/publish-gem-to-github@master
if: ${{ steps.release.outputs.release_created }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ secrets.OWNER }}
- name: Build and publish to RubyGems
uses: actionshub/publish-gem-to-rubygems@main
if: ${{ steps.release.outputs.release_created }}
env:
token: ${{ secrets.RUBYGEMS_TOKEN }}
owner: ${{ secrets.OWNER }}