add vagrant architecture support (#491) #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
"on": | |
push: | |
branches: | |
- main | |
name: release-please | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@v4 | |
id: release | |
with: | |
release-type: ruby | |
package-name: kitchen-vagrant | |
version-file: lib/kitchen/driver/vagrant_version.rb | |
token: ${{ secrets.PORTER_GITHUB_TOKEN }} | |
- 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@main | |
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 }} | |
with: | |
token: ${{ secrets.RUBYGEMS_API_KEY }} |