Skip to content

Merge pull request #11 from futabooo/add-manual-release-workflow #2

Merge pull request #11 from futabooo/add-manual-release-workflow

Merge pull request #11 from futabooo/add-manual-release-workflow #2

Workflow file for this run

name: release
on:
workflow_dispatch:
inputs:
tag:
description: "The tag name of the release"
required: true
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions: {}
steps:

Check failure on line 15 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 15
- 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 }}