Skip to content

Initial commit

Initial commit #3

Workflow file for this run

name: 🚀 Release
run-name: 🚀 Release (${{ github.ref_name }})
on:
pull_request:
branches: [ "prepare_release\/v*" ]

Check failure on line 6 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

You have an error in your yaml syntax on line 6
types: [ closed ]
jobs:
release:
name: 🚀 Create release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: version
run: |
version=$(echo "${{ github.ref_name }}" | sed -r "s/prepare_release\/v(.*)/\1/")
echo "version=$version" >> "$GITHUB_OUTPUT"
- uses: softprops/action-gh-release@v1
with:
name: JsonType ${{ steps.version.outputs.version }}
tag_name: "v${{ steps.version.outputs.version }}"
body: |
${{ github.event.pull_request.body }}
if: github.event.pull_request.merged == true