Skip to content

Merge branch 'upgrade_ruby_3' into release-please-test #2

Merge branch 'upgrade_ruby_3' into release-please-test

Merge branch 'upgrade_ruby_3' into release-please-test #2

Workflow file for this run

name: Release
on:
push:
branches:
- main
- release-please-test
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: ruby
package-name: man_eb_deployer
default-branch: release-please-test
- uses: actions/checkout@v4
- name: publish to rubygems
if: ${{ steps.release.outputs.release_created }}
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build eb_deployer.gemspec
# gem push man_eb_deployer-*.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"