mirror of
https://github.com/ditkrg/rabbit_carrots.git
synced 2026-01-22 22:06:40 +00:00
Removes release-please
This commit is contained in:
parent
fd1e5bb195
commit
ffee05a75d
25
.github/workflows/release.yml
vendored
25
.github/workflows/release.yml
vendored
@ -11,30 +11,6 @@ jobs:
|
|||||||
release-please:
|
release-please:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: GoogleCloudPlatform/release-please-action@v2
|
|
||||||
id: release
|
|
||||||
with:
|
|
||||||
# The release type
|
|
||||||
release-type: ruby
|
|
||||||
# A name for the artifact releases are being created for
|
|
||||||
# which is the name of our gem
|
|
||||||
package-name: rabbit_carrots
|
|
||||||
# Should breaking changes before 1.0.0 produce minor bumps?
|
|
||||||
bump-minor-pre-major: true
|
|
||||||
# Path to our version file to increment
|
|
||||||
version-file: "lib/rabbit_carrots/version.rb"
|
|
||||||
# Checkout code if release was created
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
if: ${{ steps.release.outputs.release_created }}
|
|
||||||
# Setup ruby if a release was created
|
|
||||||
- uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: 3.1.2
|
|
||||||
if: ${{ steps.release.outputs.release_created }}
|
|
||||||
# Bundle install
|
|
||||||
- run: bundle install
|
|
||||||
if: ${{ steps.release.outputs.release_created }}
|
|
||||||
|
|
||||||
- name: publish gem
|
- name: publish gem
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME/.gem
|
mkdir -p $HOME/.gem
|
||||||
@ -47,4 +23,3 @@ jobs:
|
|||||||
# Make sure to update the secret name
|
# Make sure to update the secret name
|
||||||
# if yours isn't named RUBYGEMS_AUTH_TOKEN
|
# if yours isn't named RUBYGEMS_AUTH_TOKEN
|
||||||
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
||||||
if: ${{ steps.release.outputs.release_created }}
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user