mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
27 lines
664 B
YAML
27 lines
664 B
YAML
|
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 != '' }}
|