2023-03-14 23:41:37 +03:00
|
|
|
name: new-version
|
2023-03-16 15:33:53 +03:00
|
|
|
run-name: building ${{ inputs.projects }}
|
2023-03-14 23:41:37 +03:00
|
|
|
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
|