mirror of
https://github.com/intel/llvm.git
synced 2026-02-03 02:26:27 +08:00
[Github] Update actions/download-artifact to v5 (#158466)
Some of the older versions have security issues. Upgrade to v5 to remedy
that and get ahead of the v5 upgrade cycle rather than updating to a
later v4.x release.
Updated mechanically using the following command:
find .github -exec sed -i -e
"s/actions\/download-artifact@.*/actions\/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
# v5.0.0/g" {} \;
This commit is contained in:
@@ -61,7 +61,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- name: Download container
|
||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
name: container
|
||||
- name: Push Container
|
||||
|
||||
2
.github/workflows/build-ci-container.yml
vendored
2
.github/workflows/build-ci-container.yml
vendored
@@ -88,7 +88,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- name: Download container
|
||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
|
||||
- name: Push Container
|
||||
run: |
|
||||
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- name: Download Container
|
||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
name: container
|
||||
- name: Push Container
|
||||
|
||||
4
.github/workflows/libclang-abi-tests.yml
vendored
4
.github/workflows/libclang-abi-tests.yml
vendored
@@ -144,12 +144,12 @@ jobs:
|
||||
- abi-dump
|
||||
steps:
|
||||
- name: Download baseline
|
||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
name: build-baseline
|
||||
path: build-baseline
|
||||
- name: Download latest
|
||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
name: build-latest
|
||||
path: build-latest
|
||||
|
||||
6
.github/workflows/llvm-tests.yml
vendored
6
.github/workflows/llvm-tests.yml
vendored
@@ -148,17 +148,17 @@ jobs:
|
||||
- abi-dump
|
||||
steps:
|
||||
- name: Download baseline
|
||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
name: build-baseline
|
||||
path: build-baseline
|
||||
- name: Download latest
|
||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
name: build-latest
|
||||
path: build-latest
|
||||
- name: Download symbol list
|
||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
name: symbol-list
|
||||
path: symbol-list
|
||||
|
||||
@@ -44,7 +44,7 @@ runs:
|
||||
- name: Download Previous Stage Artifact
|
||||
if: ${{ inputs.previous-artifact }}
|
||||
id: download
|
||||
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
pattern: ${{ runner.os }}-${{ runner.arch }}-${{ inputs.previous-artifact }}-*
|
||||
merge-multiple: true
|
||||
|
||||
2
.github/workflows/release-binaries.yml
vendored
2
.github/workflows/release-binaries.yml
vendored
@@ -294,7 +294,7 @@ jobs:
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
- name: 'Download artifact'
|
||||
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
pattern: '*-release-binary'
|
||||
merge-multiple: true
|
||||
|
||||
Reference in New Issue
Block a user