Skip to content

Prepare release v3.1.0 #10

Prepare release v3.1.0

Prepare release v3.1.0 #10

Workflow file for this run

name: Release to RubyGems
on:
push:
branches:
- release/*
jobs:
pre-release-check:
uses: cucumber/.github/.github/workflows/prerelease-checks.yml@main
test:
uses: ./.github/workflows/test.yml
publish-rubygem:
name: Publish Ruby Gem
needs: [pre-release-check, test]
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v4
- uses: cucumber/action-publish-rubygem@v1.0.0
with:
rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}
create-github-release:
name: Create GitHub Release and Git tag
needs: publish-rubygem
runs-on: ubuntu-latest
environment: Release
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: cucumber/action-create-github-release@v1.1.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}