name: Read Toolchain on: workflow_call: outputs: image: description: "the toolchain docker image" value: ${{ jobs.read-toolchain.outputs.image }} env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true jobs: read-toolchain: runs-on: ubuntu-latest permissions: contents: read outputs: image: ${{ steps.read.outputs.image }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: sparse-checkout: tools/toolchain/image sparse-checkout-cone-mode: false - id: read run: | image=$(cat tools/toolchain/image) echo "image=$image" >> $GITHUB_OUTPUT