From 5016d0eab2beb219a9ef290bf01caba11d8c9cd9 Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Sat, 20 Jan 2024 23:32:01 -0800 Subject: [PATCH] Switch to `actions/upload-artifact@v4` This commit updates 'actions/upload-artifact' used in our GitHub Actions rules from actions/upload-artifact@v3 to actions/upload-artifact@v4. According to the release note [1], there are several breaking changes but none of them looks to be hitting us. [1]: https://github.com/actions/upload-artifact/releases/tag/v4.0.0 --- .github/workflows/android.yaml | 2 +- .github/workflows/linux.yaml | 2 +- .github/workflows/macos.yaml | 6 +++--- .github/workflows/windows.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml index f51eedf36..97527a334 100644 --- a/.github/workflows/android.yaml +++ b/.github/workflows/android.yaml @@ -33,7 +33,7 @@ jobs: bazel build --config oss_android package - name: upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: native_libs.zip path: src/bazel-bin/android/jni/native_libs.zip diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 66ddc1efb..9fa63736c 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -40,7 +40,7 @@ jobs: bazel build --config oss_linux package - name: Upload Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: mozc.zip path: src/bazel-bin/unix/mozc.zip diff --git a/.github/workflows/macos.yaml b/.github/workflows/macos.yaml index 5a09c19f2..45679ecf7 100644 --- a/.github/workflows/macos.yaml +++ b/.github/workflows/macos.yaml @@ -60,7 +60,7 @@ jobs: bazel build --config oss_macos package --macos_cpus=arm64 - name: upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Mozc_arm64.pkg path: src/bazel-bin/mac/Mozc.pkg @@ -112,7 +112,7 @@ jobs: bazel build --config oss_macos package --macos_cpus=x86_64 - name: upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Mozc_intel64.pkg path: src/bazel-bin/mac/Mozc.pkg @@ -164,7 +164,7 @@ jobs: bazel build --config oss_macos package --macos_cpus=x86_64,arm64 - name: upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Mozc_universal_binary.pkg path: src/bazel-bin/mac/Mozc.pkg diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index 9654856d6..b14ff76e8 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -70,7 +70,7 @@ jobs: python build_mozc.py build -c Release package - name: upload Mozc64.msi - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Mozc64.msi path: src/out_win/Release/Mozc64.msi