diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7cf2189f56a9e..5ef01680f89c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,3 +55,4 @@ jobs: with: architecture: ${{ matrix.architecture }} distribution: ${{ matrix.distribution }} + min: ${{ needs.build.outputs.artifact_name }} diff --git a/.github/workflows/r_assemble.yml b/.github/workflows/r_assemble.yml index 7529ca9d8061b..c762fe2a88294 100644 --- a/.github/workflows/r_assemble.yml +++ b/.github/workflows/r_assemble.yml @@ -33,17 +33,10 @@ jobs: contents: read steps: - uses: actions/checkout@v4 - # The -min package's name is stored in artifacts/artifact_min_name.txt. - - - name: Set min package name - id: get_min_name - run: | - echo "name=$(cat artifacts/artifact_min_name.txt)" >> $GITHUB_OUTPUT - - name: Download artifact uses: actions/download-artifact@v4 with: - name: ${{ steps.get_min_name.outputs.name }} + name: ${{ inputs.min }} path: artifacts/dist - name: Provision diff --git a/.github/workflows/r_build.yml b/.github/workflows/r_build.yml index 9fb8367769b81..b9e93b207291c 100644 --- a/.github/workflows/r_build.yml +++ b/.github/workflows/r_build.yml @@ -17,6 +17,10 @@ on: type: string name: type: string + outputs: + artifact_name: + description: "Returns the build artifact's filename" + value: ${{ jobs.r_build.outputs.get_name }} jobs: r_build: