mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 21:19:01 +08:00
Call dispatch in a step
This commit is contained in:
parent
1972ca2f6c
commit
7c435a1bd5
@ -90,34 +90,37 @@ jobs:
|
||||
|
||||
create-dependencies-packages:
|
||||
name: Create conan packages for dependencies
|
||||
#uses: mathze/workflow-dispatch-action@v1.3.0
|
||||
runs-on: ubuntu-latest
|
||||
needs: [parse-version, prepare-cura-repo]
|
||||
run: echo coucou
|
||||
#strategy:
|
||||
#matrix:
|
||||
#repository: [Cura, Uranium, CuraEngine, cura-binary-data, fdm_materials]
|
||||
#include:
|
||||
#- conan_recipe_root: "."
|
||||
#- repository: Cura
|
||||
#conan_recipe_root: "resources"
|
||||
#with:
|
||||
#owner: Ultimaker
|
||||
#repo: Cura-workflows
|
||||
#workflow-name: conan-package-release.yml
|
||||
#use-marker-step: true
|
||||
#ref: CURA-10769_automate_release_action
|
||||
#token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
||||
#payload: |
|
||||
#{
|
||||
#"repository": "${{ matrix.repository }}",
|
||||
#"ref_name": "${{ needs.parse-version.outputs.branch_name }}",
|
||||
#"version": "${{ inputs.cura_version }}",
|
||||
#"conan_release": true,
|
||||
#"conan_user_channel": "ultimaker/stable",
|
||||
#"conan_internal": false,
|
||||
#"conan_latest": true,
|
||||
#"conan_recipe_root": "${{ matrix.conan_recipe_root }}"
|
||||
#}
|
||||
strategy:
|
||||
matrix:
|
||||
repository: [Cura, Uranium, CuraEngine, cura-binary-data, fdm_materials]
|
||||
include:
|
||||
- conan_recipe_root: "."
|
||||
- repository: Cura
|
||||
conan_recipe_root: "resources"
|
||||
steps:
|
||||
call-create-package:
|
||||
name: Call external create package
|
||||
uses: mathze/workflow-dispatch-action@v1.3.0
|
||||
with:
|
||||
owner: Ultimaker
|
||||
repo: Cura-workflows
|
||||
workflow-name: conan-package-release.yml
|
||||
use-marker-step: true
|
||||
ref: CURA-10769_automate_release_action
|
||||
token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
||||
payload: |
|
||||
{
|
||||
"repository": "${{ matrix.repository }}",
|
||||
"ref_name": "${{ needs.parse-version.outputs.branch_name }}",
|
||||
"version": "${{ inputs.cura_version }}",
|
||||
"conan_release": true,
|
||||
"conan_user_channel": "ultimaker/stable",
|
||||
"conan_internal": false,
|
||||
"conan_latest": true,
|
||||
"conan_recipe_root": "${{ matrix.conan_recipe_root }}"
|
||||
}
|
||||
|
||||
create-cura-package:
|
||||
name: Create conan package for Cura
|
||||
|
Loading…
x
Reference in New Issue
Block a user