mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
35 lines
738 B
YAML
35 lines
738 B
YAML
|
name: new-version
|
||
|
run-name: new-version (${{ inputs.projects }})
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
inputs:
|
||
|
projects:
|
||
|
description: eg. `foo.com=1.2.3 bar.com^2.3.4`
|
||
|
required: true
|
||
|
type: string
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
platform:
|
||
|
- darwin+x86-64
|
||
|
- linux+x86-64
|
||
|
- darwin+aarch64
|
||
|
- linux+aarch64
|
||
|
uses: ./.github/workflows/build.yml
|
||
|
with:
|
||
|
new-version: true
|
||
|
projects: ${{ inputs.projects }}
|
||
|
platform: ${{ matrix.platform }}
|
||
|
secrets: inherit
|
||
|
|
||
|
index_data:
|
||
|
needs: [build]
|
||
|
if: success()
|
||
|
uses: ./.github/workflows/index-data.yml
|
||
|
with:
|
||
|
projects: ${{ inputs.projects }}
|
||
|
secrets: inherit
|