Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Closes scylladb/scylladb#27807
26 lines
599 B
YAML
26 lines
599 B
YAML
name: Read Toolchain
|
|
|
|
on:
|
|
workflow_call:
|
|
outputs:
|
|
image:
|
|
description: "the toolchain docker image"
|
|
value: ${{ jobs.read-toolchain.outputs.image }}
|
|
|
|
jobs:
|
|
read-toolchain:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
outputs:
|
|
image: ${{ steps.read.outputs.image }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
sparse-checkout: tools/toolchain/image
|
|
sparse-checkout-cone-mode: false
|
|
- id: read
|
|
run: |
|
|
image=$(cat tools/toolchain/image)
|
|
echo "image=$image" >> $GITHUB_OUTPUT
|