mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 15:19:00 +08:00
Call create package workflow directly
This commit is contained in:
parent
d3e10aff83
commit
f351dd2aba
@ -90,80 +90,39 @@ jobs:
|
|||||||
|
|
||||||
create-dependencies-packages:
|
create-dependencies-packages:
|
||||||
name: Create conan packages for dependencies
|
name: Create conan packages for dependencies
|
||||||
runs-on: ubuntu-latest
|
uses: ultimaker/cura-workflows/.github/workflows/conan-package-release.yml@CURA-10769_automate_release_action
|
||||||
needs: [parse-version, prepare-cura-repo]
|
needs: [parse-version, prepare-cura-repo]
|
||||||
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:
|
||||||
- name: Call external create package
|
repository: ${{ matrix.repository }}
|
||||||
id: dispatch-create-action
|
ref_name: ${{ needs.parse-version.outputs.branch_name }}
|
||||||
uses: Codex-/return-dispatch@v1.14.0
|
version: ${{ inputs.cura_version }}
|
||||||
with:
|
conan_release: true
|
||||||
owner: Ultimaker
|
conan_user_channel: ultimaker/stable
|
||||||
repo: Cura-workflows
|
conan_internal: false
|
||||||
token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
conan_latest: true
|
||||||
workflow: conan-package-release.yml
|
conan_recipe_root: ${{ matrix.conan_recipe_root }}
|
||||||
ref: CURA-10769_automate_release_action
|
token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
||||||
workflow_inputs: |
|
|
||||||
{
|
|
||||||
"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 }}"
|
|
||||||
}
|
|
||||||
|
|
||||||
- name: Wait for package creation completion
|
|
||||||
uses: Codex-/await-remote-run@v1.12.2
|
|
||||||
with:
|
|
||||||
owner: Ultimaker
|
|
||||||
repo: Cura-workflows
|
|
||||||
token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
|
||||||
run_id: ${{ steps.dispatch-create-action.outputs.run_id }}
|
|
||||||
run_timeout_seconds: 1800
|
|
||||||
|
|
||||||
create-cura-package:
|
create-cura-package:
|
||||||
name: Create conan packages for Cura
|
name: Create conan package for Cura
|
||||||
runs-on: ubuntu-latest
|
uses: ultimaker/cura-workflows/.github/workflows/conan-package-release.yml@CURA-10769_automate_release_action
|
||||||
needs: [parse-version, create-dependencies-packages]
|
needs: [parse-version, create-dependencies-packages]
|
||||||
steps:
|
with:
|
||||||
- name: Call external create package
|
repository: Cura
|
||||||
id: dispatch-create-action
|
ref_name: ${{ needs.parse-version.outputs.branch_name }}
|
||||||
uses: Codex-/return-dispatch@v1.14.0
|
version: ${{ inputs.cura_version }}
|
||||||
with:
|
conan_release: true
|
||||||
owner: Ultimaker
|
conan_user_channel: ultimaker/stable
|
||||||
repo: Cura-workflows
|
conan_internal: false
|
||||||
token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
conan_latest: true
|
||||||
workflow: conan-package-release.yml
|
secrets: inherit
|
||||||
ref: CURA-10769_automate_release_action
|
|
||||||
workflow_inputs: |
|
|
||||||
{
|
|
||||||
"repository": "Cura",
|
|
||||||
"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 }}"
|
|
||||||
}
|
|
||||||
|
|
||||||
- name: Wait for package creation completion
|
|
||||||
uses: Codex-/await-remote-run@v1.12.2
|
|
||||||
with:
|
|
||||||
owner: Ultimaker
|
|
||||||
repo: Cura-workflows
|
|
||||||
token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
|
||||||
run_id: ${{ steps.dispatch-create-action.outputs.run_id }}
|
|
||||||
run_timeout_seconds: 3600
|
|
||||||
|
|
||||||
create-installers:
|
create-installers:
|
||||||
name: Create installers
|
name: Create installers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user