Skip to content

chore: gh release

chore: gh release #22

Workflow file for this run

name: Release
on:
push
branches:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: '0'
- uses: paulhatch/[email protected]
id: semantic_version
with:
tag_prefix: "v"
- name: Create tag
run: git tag ${{ steps.semantic_version.outputs.version }}
- name: Push tag
run: git push --tags
- name: Release
run: gh release create ${{ steps.semantic_version.outputs.version }} --generate-notes
env:
GH_TOKEN: ${{ github.token }}