pantry/.github/workflows/new_version.yml

27 lines
664 B
YAML
Raw Normal View History

name: new_version
on:
workflow_dispatch:
inputs:
projects:
description: A JSON string containing repository/version values to build
required: true
type: string
jobs:
find-projects:
runs-on: ubuntu-latest
outputs:
diff: ${{ steps.find.outputs.projects }}
steps:
- uses: actions/checkout@v3
- name: find
run: |
echo ${{ inputs.projects }}
false
build:
needs: [find-projects]
uses: ./.github/workflows/build.yml
with:
projects: ${{ needs.find-projects.outputs.projects }}
secrets: inherit
if: ${{ needs.find-projects.outputs.projects != '' }}