Skip to content

Commit

Permalink
Call dispatch in a step
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Jun 5, 2024
1 parent 1972ca2 commit 7c435a1
Showing 1 changed file with 30 additions and 27 deletions.
57 changes: 30 additions & 27 deletions .github/workflows/release-process_release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,34 +90,37 @@ jobs:
create-dependencies-packages:
name: Create conan packages for dependencies
#uses: mathze/[email protected]
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/[email protected]
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
Expand Down

0 comments on commit 7c435a1

Please sign in to comment.