Skip to content

Commit 8e7e6b0

Browse files
authored
Update artifact actions to v4 (#19703)
* Update artifact actions to v4 * Update one more download-artifact
1 parent cbdc8ab commit 8e7e6b0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/scorecard.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
4848
# format to the repository Actions tab.
4949
- name: "Upload artifact"
50-
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
50+
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
5151
with:
5252
name: SARIF file
5353
path: results.sarif

.github/workflows/test_php_ext.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
bazel build //php:release $BAZEL_FLAGS;
4343
cp bazel-bin/php/protobuf-*.tgz .
4444
45-
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
45+
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
4646
with:
4747
name: protobuf-php-release
4848
path: protobuf-*.tgz
@@ -61,7 +61,7 @@ jobs:
6161
name: ${{ matrix.continuous-only && inputs.continuous-prefix || '' }} Build ${{ matrix.version }}
6262
runs-on: ubuntu-latest
6363
steps:
64-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
64+
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 #4.1.8
6565
if: ${{ !matrix.continuous-only || inputs.continuous-run }}
6666
with:
6767
name: protobuf-php-release

.github/workflows/test_upb.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@ jobs:
167167
bazel: build --crosstool_top=//toolchain:clang_suite --//toolchain:release=true --symlink_prefix=/ -c dbg //python/dist //python/dist:test_wheel //python/dist:source_wheel
168168
- name: Move Wheels
169169
run: mkdir wheels && find _build/out \( -name 'protobuf*.whl' -o -name 'protobuf-*.tar.gz' \) -exec mv '{}' wheels ';'
170-
- uses: actions/upload-artifact@v3
170+
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
171171
with:
172172
name: python-wheels
173173
path: wheels/
174-
- uses: actions/upload-artifact@v3
174+
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
175175
with:
176176
name: requirements
177177
# Tests shouldn't have access to the whole upb repo, upload the one file we need
@@ -216,13 +216,13 @@ jobs:
216216
steps:
217217
- name: Download Wheels
218218
if: ${{ !matrix.continuous-only || inputs.continuous-run }}
219-
uses: actions/download-artifact@v3
219+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 #4.1.8
220220
with:
221221
name: python-wheels
222222
path: wheels
223223
- name: Download Requirements
224224
if: ${{ !matrix.continuous-only || inputs.continuous-run }}
225-
uses: actions/download-artifact@v3
225+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 #4.1.8
226226
with:
227227
name: requirements
228228
path: requirements
@@ -281,7 +281,7 @@ jobs:
281281
if: ${{ github.event_name != 'pull_request_target' }}
282282
steps:
283283
- name: Download Wheels
284-
uses: actions/download-artifact@v3
284+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 #4.1.8
285285
with:
286286
name: python-wheels
287287
path: wheels

0 commit comments

Comments
 (0)