2022-08-31 19:36:54 +03:00
|
|
|
name: new-version
|
2022-10-04 01:32:49 +03:00
|
|
|
run-name: new-version (${{ inputs.projects }})
|
2022-08-09 02:50:24 +03:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
projects:
|
2022-12-15 02:38:20 +03:00
|
|
|
description: eg. `foo.com=1.2.3 bar.com^2.3.4`
|
2022-08-09 02:50:24 +03:00
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
|
2023-01-25 01:21:32 +03:00
|
|
|
|
2022-08-09 02:50:24 +03:00
|
|
|
jobs:
|
|
|
|
build:
|
2023-02-03 01:13:38 +03:00
|
|
|
strategy:
|
2023-02-03 04:07:32 +03:00
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
platform:
|
|
|
|
- darwin+x86-64
|
|
|
|
- linux+x86-64
|
|
|
|
- darwin+aarch64
|
|
|
|
- linux+aarch64
|
2022-08-09 02:50:24 +03:00
|
|
|
uses: ./.github/workflows/build.yml
|
2022-12-21 02:29:41 +03:00
|
|
|
with:
|
|
|
|
new-version: true
|
2023-02-03 04:07:32 +03:00
|
|
|
projects: ${{ inputs.projects }}
|
2023-02-03 01:13:38 +03:00
|
|
|
platform: ${{ matrix.platform }}
|
2022-12-21 00:54:26 +03:00
|
|
|
secrets: inherit
|
2023-02-01 09:13:09 +03:00
|
|
|
index_data:
|
2023-02-03 04:07:32 +03:00
|
|
|
needs: [build]
|
|
|
|
if: success()
|
2023-02-01 09:13:09 +03:00
|
|
|
uses: ./.github/workflows/index-data.yml
|
|
|
|
with:
|
|
|
|
projects: ${{ inputs.projects }}
|
|
|
|
secrets: inherit
|