Skip to content
Snippets Groups Projects
Commit 7b275648 authored by Tom Stellard's avatar Tom Stellard Committed by Tobias Hieta
Browse files

workflow/release-binaries: Checkout sources before downloading artifacts (#109349)

The actions/checkout step will clear the current directory, so we need
to checkout the sources first so that the downloaded artifacts won't be
deleted.

(cherry picked from commit 8f2aa9dbad7c1400f66e1ee1c43b071a1905f3e6)
parent bfa99ebb
Branches
No related tags found
No related merge requests found
...@@ -420,6 +420,14 @@ jobs: ...@@ -420,6 +420,14 @@ jobs:
attestations: write # For artifact attestations attestations: write # For artifact attestations
steps: steps:
- name: Checkout Release Scripts
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
sparse-checkout: |
llvm/utils/release/github-upload-release.py
llvm/utils/git/requirements.txt
sparse-checkout-cone-mode: false
- name: 'Download artifact' - name: 'Download artifact'
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1 uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
with: with:
...@@ -442,14 +450,6 @@ jobs: ...@@ -442,14 +450,6 @@ jobs:
name: ${{ needs.prepare.outputs.release-binary-filename }}-attestation name: ${{ needs.prepare.outputs.release-binary-filename }}-attestation
path: ${{ needs.prepare.outputs.release-binary-filename }}.jsonl path: ${{ needs.prepare.outputs.release-binary-filename }}.jsonl
- name: Checkout Release Scripts
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
sparse-checkout: |
llvm/utils/release/github-upload-release.py
llvm/utils/git/requirements.txt
sparse-checkout-cone-mode: false
- name: Install Python Requirements - name: Install Python Requirements
run: | run: |
pip install --require-hashes -r ./llvm/utils/git/requirements.txt pip install --require-hashes -r ./llvm/utils/git/requirements.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment