Skip to content

reusable wokflow

reusable wokflow #4

name: Build and push Testing API
on:
workflow_dispatch:
inputs:
version:
description: 'Version string for SDK Testing API release'
required: true
default: '1.0.0'
push:
paths:
.github/workflows/*
jobs:
build-and-upload:
uses: ./.github/workflows/build-and-push.yml

Check failure on line 17 in .github/workflows/release-sdk-testing-api.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-sdk-testing-api.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release-sdk-testing-api.yml" -> "./.github/workflows/build-and-push.yml" (source branch with sha:0902c3e845f75252443b584b37052329ac1420b2) : workflow is not reusable as it is missing a `on.workflow_call` trigger
with:
version: ${{ inputs.version }}
docker_contex: ./package-testing/testing-api
image_name: testing-api