mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 17:05:07 +03:00
34 lines
738 B
YAML
34 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
|