Skip to content

Add release action

Add release action #1

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

Check failure on line 13 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/test.yml" : failed to fetch workflow: workflow was not found.
publish-rubygem:
name: Publish Ruby Gem
needs: [pre-release-check, test]
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v4
- uses: cucumber/[email protected]
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/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}