Skip to content

Workflow file for this run

name: release
on:
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions: {}
steps:

Check failure on line 11 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 11
- name: Check ref
if: |
!startsWith(github.ref, 'refs/tags/')
run: |
echo "This action should only be run on tag"
exit 1
release:
needs: [check]
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Release
uses: ./.github/actions/release
with:
tag: ${{ github.ref_name }}