Skip to content

Commit b44e504

Browse files
committed
Use workflow call instead of dispatch
1 parent 10c04bb commit b44e504

1 file changed

Lines changed: 31 additions & 20 deletions

File tree

.github/workflows/release_portable_linux_packages.yml

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -466,24 +466,35 @@ jobs:
466466
echo "successful_native_families=${SUCCESSFUL_NATIVE_FAMILIES}" >> $GITHUB_OUTPUT
467467
echo "SUCCESSFUL_NATIVE_FAMILIES=${SUCCESSFUL_NATIVE_FAMILIES}" >> $GITHUB_ENV
468468
echo "Aggregated successful native package families: ${SUCCESSFUL_NATIVE_FAMILIES}"
469-
echo "Hello world"
470-
echo "Value of SUCCESSFUL_NATIVE_FAMILIES=$XSUCCESSFUL_NATIVE_FAMILIES"
471469
472-
- name: Trigger build runfile installer
473-
if: ${{ github.repository_owner == 'ROCm' }}
474-
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4
475-
with:
476-
workflow: build_linux_runfile_installer.yml
477-
# inputs: |
478-
# { "rocm_version": "${{ needs.setup_metadata.outputs.deb_version }}",
479-
# "release_type": "${{ env.RELEASE_TYPE }}",
480-
# "pull_type": "${{ env.RELEASE_TYPE }}",
481-
# "pull_run_id": "${{ github.run_id }}"
482-
# }
483-
inputs: |
484-
{ "rocm_version": "7.12.0~20260212",
485-
"release_type": "dev",
486-
"pull_type": "nightly",
487-
"gfx_archs": "${{ env.SUCCESSFUL_NATIVE_FAMILIES }}",
488-
"pull_run_id": "21933875966"
489-
}
470+
# Call build_linux_runfile_installer.yml as a reusable workflow
471+
build_runfile_installer:
472+
name: Build Runfile Installer
473+
needs: [setup_metadata, aggregate_successful_native_families]
474+
if: ${{ github.repository_owner == 'ROCm' && needs.aggregate_successful_native_families.outputs.successful_native_families != '' }}
475+
uses: ./.github/workflows/build_linux_runfile_installer.yml
476+
with:
477+
rocm_version: 7.12.0~20260212
478+
release_type: dev
479+
gfx_archs: ${{ env.successful_native_families }}
480+
pull_type: nightly
481+
pull_run_id: 21933875966
482+
483+
# - name: Trigger build runfile installer
484+
# if: ${{ github.repository_owner == 'ROCm' }}
485+
# uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4
486+
# with:
487+
# workflow: build_linux_runfile_installer.yml
488+
# # inputs: |
489+
# # { "rocm_version": "${{ needs.setup_metadata.outputs.deb_version }}",
490+
# # "release_type": "${{ env.RELEASE_TYPE }}",
491+
# # "pull_type": "${{ env.RELEASE_TYPE }}",
492+
# # "pull_run_id": "${{ github.run_id }}"
493+
# # }
494+
# inputs: |
495+
# { "rocm_version": "7.12.0~20260212",
496+
# "release_type": "dev",
497+
# "pull_type": "nightly",
498+
# "gfx_archs": "${{ env.SUCCESSFUL_NATIVE_FAMILIES }}",
499+
# "pull_run_id": "21933875966"
500+
# }

0 commit comments

Comments
 (0)