Call dispatch in a step

This commit is contained in:
Erwan MATHIEU 2024-06-05 14:01:13 +02:00
parent 1972ca2f6c
commit 7c435a1bd5

View File

@ -90,34 +90,37 @@ jobs:
create-dependencies-packages: create-dependencies-packages:
name: Create conan packages for dependencies name: Create conan packages for dependencies
#uses: mathze/workflow-dispatch-action@v1.3.0 runs-on: ubuntu-latest
needs: [parse-version, prepare-cura-repo] needs: [parse-version, prepare-cura-repo]
run: echo coucou strategy:
#strategy: matrix:
#matrix: repository: [Cura, Uranium, CuraEngine, cura-binary-data, fdm_materials]
#repository: [Cura, Uranium, CuraEngine, cura-binary-data, fdm_materials] include:
#include: - conan_recipe_root: "."
#- conan_recipe_root: "." - repository: Cura
#- repository: Cura conan_recipe_root: "resources"
#conan_recipe_root: "resources" steps:
#with: call-create-package:
#owner: Ultimaker name: Call external create package
#repo: Cura-workflows uses: mathze/workflow-dispatch-action@v1.3.0
#workflow-name: conan-package-release.yml with:
#use-marker-step: true owner: Ultimaker
#ref: CURA-10769_automate_release_action repo: Cura-workflows
#token: ${{ secrets.CURA_AUTORELEASE_PAT }} workflow-name: conan-package-release.yml
#payload: | use-marker-step: true
#{ ref: CURA-10769_automate_release_action
#"repository": "${{ matrix.repository }}", token: ${{ secrets.CURA_AUTORELEASE_PAT }}
#"ref_name": "${{ needs.parse-version.outputs.branch_name }}", payload: |
#"version": "${{ inputs.cura_version }}", {
#"conan_release": true, "repository": "${{ matrix.repository }}",
#"conan_user_channel": "ultimaker/stable", "ref_name": "${{ needs.parse-version.outputs.branch_name }}",
#"conan_internal": false, "version": "${{ inputs.cura_version }}",
#"conan_latest": true, "conan_release": true,
#"conan_recipe_root": "${{ matrix.conan_recipe_root }}" "conan_user_channel": "ultimaker/stable",
#} "conan_internal": false,
"conan_latest": true,
"conan_recipe_root": "${{ matrix.conan_recipe_root }}"
}
create-cura-package: create-cura-package:
name: Create conan package for Cura name: Create conan package for Cura