Revert "Update artifact actions (#19701)"
This reverts commit 028200c3cf7d8ca8e3899f4484c28be44a3ef79c.
diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
index 1d10e7b..a6d5558 100644
--- a/.github/workflows/scorecard.yml
+++ b/.github/workflows/scorecard.yml
@@ -47,7 +47,7 @@
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
+ uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: SARIF file
path: results.sarif
diff --git a/.github/workflows/test_php_ext.yml b/.github/workflows/test_php_ext.yml
index 171ac17..e80afa0 100644
--- a/.github/workflows/test_php_ext.yml
+++ b/.github/workflows/test_php_ext.yml
@@ -31,7 +31,7 @@
bazel build //php:release $BAZEL_FLAGS;
cp bazel-bin/php/protobuf-*.tgz .
- - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
+ - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: protobuf-php-release
path: protobuf-*.tgz
@@ -45,7 +45,7 @@
name: Build ${{ matrix.version }}
runs-on: ubuntu-latest
steps:
- - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 #4.1.8
+ - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: protobuf-php-release
diff --git a/.github/workflows/test_upb.yml b/.github/workflows/test_upb.yml
index 134505c..8fe4fb9 100644
--- a/.github/workflows/test_upb.yml
+++ b/.github/workflows/test_upb.yml
@@ -147,11 +147,11 @@
bazel: build --crosstool_top=//toolchain:clang_suite --//toolchain:release=true --symlink_prefix=/ -c dbg //python/dist //python/dist:test_wheel //python/dist:source_wheel
- name: Move Wheels
run: mkdir wheels && find _build/out \( -name 'protobuf*.whl' -o -name 'protobuf-*.tar.gz' \) -exec mv '{}' wheels ';'
- - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
+ - uses: actions/upload-artifact@v3
with:
name: python-wheels
path: wheels/
- - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
+ - uses: actions/upload-artifact@v3
with:
name: requirements
# Tests shouldn't have access to the whole upb repo, upload the one file we need
@@ -194,12 +194,12 @@
shell: bash
steps:
- name: Download Wheels
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 #4.1.8
+ uses: actions/download-artifact@v3
with:
name: python-wheels
path: wheels
- name: Download Requirements
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 #4.1.8
+ uses: actions/download-artifact@v3
with:
name: requirements
path: requirements
@@ -252,7 +252,7 @@
if: ${{ github.event_name != 'pull_request_target' }}
steps:
- name: Download Wheels
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 #4.1.8
+ uses: actions/download-artifact@v3
with:
name: python-wheels
path: wheels