Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/build_native_linux_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ on:
description: The type of release to build ("dev", "nightly", or "prerelease"). All developer-triggered jobs should use "dev"!
required: false
type: string
repository:
description: "Repository to checkout. Otherwise, defaults to `github.repository`."
type: string
ref:
description: "Branch, tag or SHA to checkout. Defaults to the reference or SHA that triggered the workflow."
type: string
workflow_dispatch:
inputs:
artifact_group:
Expand Down Expand Up @@ -55,6 +61,9 @@ on:
description: The type of release to build ("dev", "nightly", or "prerelease"). All developer-triggered jobs should use "dev"!
type: string
default: "dev"
ref:
description: "Branch, tag or SHA to checkout. Defaults to the reference or SHA that triggered the workflow."
type: string
Comment thread
HereThereBeDragons marked this conversation as resolved.

permissions:
id-token: write
Expand All @@ -78,10 +87,17 @@ jobs:
RELEASE_TYPE: ${{ inputs.release_type || '' }}
S3_BUCKET_NATIVE: "therock-${{ inputs.release_type }}-packages"
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
- name: "Checking out repository"
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
repository: ${{ inputs.repository || github.repository }}
ref: ${{ inputs.ref || '' }}

- name: Set up Python
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: '3.12'

- name: Install Python requirements
run: |
pip install pyelftools boto3 jinja2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release_portable_linux_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ jobs:
"rocm_version": "${{ needs.setup_metadata.outputs.rpm_version }}",
"release_type": "${{ env.RELEASE_TYPE }}",
"artifact_run_id": "${{ github.run_id }}",
"ref": "${{ inputs.ref || '' }}",
"native_package_type": "rpm"
}

Expand All @@ -373,6 +374,7 @@ jobs:
"rocm_version": "${{ needs.setup_metadata.outputs.deb_version }}",
"release_type": "${{ env.RELEASE_TYPE }}",
"artifact_run_id": "${{ github.run_id }}",
"ref": "${{ inputs.ref || '' }}",
"native_package_type": "deb"
}

Expand Down
Loading