23 lines
480 B
YAML
23 lines
480 B
YAML
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
sync_var:
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/alpine:3.21.2
|
|
|
|
steps:
|
|
- name: the check script
|
|
id: check_id
|
|
run: |
|
|
echo "sync_var: ${{ inputs.sync_var }}"
|
|
echo "sync=${{ inputs.sync_var }}" >> $GITHUB_OUTPUT
|
|
- name: run sync
|
|
if: steps.check_id.outputs.sync == 'true'
|
|
run: echo "run sync"
|
|
|