From 2a48d2689c57d76d3a95fe9e36093943f8563e5c Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Wed, 11 Dec 2024 10:21:08 -0500 Subject: [PATCH] bump actions/download-artifact and actions/upload-artifact from 2 to 4 in grpc-tools build workflow --- .github/workflows/grpc-tools-build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/grpc-tools-build.yml b/.github/workflows/grpc-tools-build.yml index 64ee81212..d38fd64c2 100644 --- a/.github/workflows/grpc-tools-build.yml +++ b/.github/workflows/grpc-tools-build.yml @@ -8,9 +8,9 @@ on: branches: - master -permissions: +permissions: contents: read # to fetch code (actions/checkout) - + jobs: linux_build: name: Linux grpc-tools Build @@ -23,7 +23,7 @@ jobs: run: | docker build -t kokoro-native-image tools/release/native docker run -v /var/run/docker.sock:/var/run/docker.sock -v $GITHUB_WORKSPACE:$GITHUB_WORKSPACE kokoro-native-image $GITHUB_WORKSPACE/packages/grpc-tools/build_binaries.sh - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: grpc-tools_linux path: artifacts/ @@ -36,7 +36,7 @@ jobs: submodules: recursive - name: Build run: packages/grpc-tools/build_binaries.sh - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: grpc-tools_macos path: artifacts/ @@ -55,7 +55,7 @@ jobs: - name: Build run: powershell -File ./packages/grpc-tools/build_binaries.ps1 shell: cmd - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: grpc-tools_windows_${{matrix.arch}} path: artifacts/ @@ -64,12 +64,12 @@ jobs: runs-on: ubuntu-latest needs: [linux_build, macos_build, windows_build] steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 - name: Copy run: | mkdir artifacts cp -r ./**/* artifacts/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: combined-artifacts path: artifacts/