mirror of
https://github.com/LowderPlay/cheburcheck.git
synced 2026-09-25 15:58:11 +03:00
25 lines
547 B
YAML
25 lines
547 B
YAML
name: Validate component version
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
component:
|
|
required: true
|
|
type: string
|
|
outputs:
|
|
version:
|
|
value: ${{ jobs.validate.outputs.version }}
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
version: ${{ steps.version.outputs.version }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Validate release tag
|
|
id: version
|
|
env:
|
|
COMPONENT: ${{ inputs.component }}
|
|
run: python3 .github/scripts/validate-release.py "$COMPONENT"
|