pantry/.github/workflows/new-version.yml

35 lines
738 B
YAML
Raw Normal View History

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 }})
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`
required: true
type: string
2023-01-25 01:21:32 +03:00
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