mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Use different action to dispatch package creation
This commit is contained in:
parent
d3e5dc3870
commit
d3e10aff83
@ -101,17 +101,15 @@ jobs:
|
|||||||
conan_recipe_root: "resources"
|
conan_recipe_root: "resources"
|
||||||
steps:
|
steps:
|
||||||
- name: Call external create package
|
- name: Call external create package
|
||||||
uses: mathze/workflow-dispatch-action@v1.3.0
|
id: dispatch-create-action
|
||||||
|
uses: Codex-/return-dispatch@v1.14.0
|
||||||
with:
|
with:
|
||||||
owner: Ultimaker
|
owner: Ultimaker
|
||||||
repo: Cura-workflows
|
repo: Cura-workflows
|
||||||
workflow-name: conan-package-release.yml
|
|
||||||
ref: CURA-10769_automate_release_action
|
|
||||||
token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
||||||
fail-on-error: true
|
workflow: conan-package-release.yml
|
||||||
wait-timeout: 60m
|
ref: CURA-10769_automate_release_action
|
||||||
run-id: dummy-run-id
|
workflow_inputs: |
|
||||||
payload: |
|
|
||||||
{
|
{
|
||||||
"repository": "${{ matrix.repository }}",
|
"repository": "${{ matrix.repository }}",
|
||||||
"ref_name": "${{ needs.parse-version.outputs.branch_name }}",
|
"ref_name": "${{ needs.parse-version.outputs.branch_name }}",
|
||||||
@ -123,23 +121,30 @@ jobs:
|
|||||||
"conan_recipe_root": "${{ matrix.conan_recipe_root }}"
|
"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 packages for Cura
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [parse-version, create-dependencies-packages]
|
needs: [parse-version, create-dependencies-packages]
|
||||||
steps:
|
steps:
|
||||||
- name: Call external create package
|
- name: Call external create package
|
||||||
uses: mathze/workflow-dispatch-action@v1.3.0
|
id: dispatch-create-action
|
||||||
|
uses: Codex-/return-dispatch@v1.14.0
|
||||||
with:
|
with:
|
||||||
owner: Ultimaker
|
owner: Ultimaker
|
||||||
repo: Cura-workflows
|
repo: Cura-workflows
|
||||||
workflow-name: conan-package-release.yml
|
|
||||||
ref: CURA-10769_automate_release_action
|
|
||||||
token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
token: ${{ secrets.CURA_AUTORELEASE_PAT }}
|
||||||
fail-on-error: true
|
workflow: conan-package-release.yml
|
||||||
wait-timeout: 60m
|
ref: CURA-10769_automate_release_action
|
||||||
run-id: dummy-run-id
|
workflow_inputs: |
|
||||||
payload: |
|
|
||||||
{
|
{
|
||||||
"repository": "Cura",
|
"repository": "Cura",
|
||||||
"ref_name": "${{ needs.parse-version.outputs.branch_name }}",
|
"ref_name": "${{ needs.parse-version.outputs.branch_name }}",
|
||||||
@ -147,9 +152,19 @@ jobs:
|
|||||||
"conan_release": "true",
|
"conan_release": "true",
|
||||||
"conan_user_channel": "ultimaker/stable",
|
"conan_user_channel": "ultimaker/stable",
|
||||||
"conan_internal": "false",
|
"conan_internal": "false",
|
||||||
"conan_latest": "true"
|
"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
|
||||||
uses: ./.github/workflows/installers.yml
|
uses: ./.github/workflows/installers.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user