Skip to content

Commit 2a48d26

Browse files
committed
bump actions/download-artifact and actions/upload-artifact from 2 to 4 in grpc-tools build workflow
1 parent 5cd30ae commit 2a48d26

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/grpc-tools-build.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ on:
88
branches:
99
- master
1010

11-
permissions:
11+
permissions:
1212
contents: read # to fetch code (actions/checkout)
13-
13+
1414
jobs:
1515
linux_build:
1616
name: Linux grpc-tools Build
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
docker build -t kokoro-native-image tools/release/native
2525
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
26-
- uses: actions/upload-artifact@v2
26+
- uses: actions/upload-artifact@v4
2727
with:
2828
name: grpc-tools_linux
2929
path: artifacts/
@@ -36,7 +36,7 @@ jobs:
3636
submodules: recursive
3737
- name: Build
3838
run: packages/grpc-tools/build_binaries.sh
39-
- uses: actions/upload-artifact@v2
39+
- uses: actions/upload-artifact@v4
4040
with:
4141
name: grpc-tools_macos
4242
path: artifacts/
@@ -55,7 +55,7 @@ jobs:
5555
- name: Build
5656
run: powershell -File ./packages/grpc-tools/build_binaries.ps1
5757
shell: cmd
58-
- uses: actions/upload-artifact@v1
58+
- uses: actions/upload-artifact@v4
5959
with:
6060
name: grpc-tools_windows_${{matrix.arch}}
6161
path: artifacts/
@@ -64,12 +64,12 @@ jobs:
6464
runs-on: ubuntu-latest
6565
needs: [linux_build, macos_build, windows_build]
6666
steps:
67-
- uses: actions/download-artifact@v2
67+
- uses: actions/download-artifact@v4
6868
- name: Copy
6969
run: |
7070
mkdir artifacts
7171
cp -r ./**/* artifacts/
72-
- uses: actions/upload-artifact@v2
72+
- uses: actions/upload-artifact@v4
7373
with:
7474
name: combined-artifacts
7575
path: artifacts/

0 commit comments

Comments
 (0)