From c65dc63495a17f940a848c3985d4e01c73aa8ad0 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 21 Sep 2024 12:48:53 -0700 Subject: [PATCH] ci: missed an upload-artifact upgrade --- .github/workflows/gen_centos9_continuous.yml | 2 +- .github/workflows/gen_debian10.3_continuous.yml | 2 +- .github/workflows/gen_debian11_continuous.yml | 2 +- .github/workflows/gen_debian12_continuous.yml | 2 +- .github/workflows/gen_fedora38_continuous.yml | 2 +- .github/workflows/gen_fedora39_continuous.yml | 2 +- .github/workflows/gen_fedora40_continuous.yml | 2 +- .github/workflows/gen_macos_continuous.yml | 2 +- .github/workflows/gen_ubuntu20.04_continuous.yml | 2 +- .github/workflows/gen_ubuntu22.04_continuous.yml | 2 +- .github/workflows/gen_ubuntu24.04_continuous.yml | 2 +- .github/workflows/gen_windows_continuous.yml | 2 +- ci/generate-workflows.py | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/gen_centos9_continuous.yml b/.github/workflows/gen_centos9_continuous.yml index 0e0281718e2..d9399777074 100644 --- a/.github/workflows/gen_centos9_continuous.yml +++ b/.github/workflows/gen_centos9_continuous.yml @@ -106,7 +106,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-centos9.rpm" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "centos9" path: "wezterm-*.rpm" diff --git a/.github/workflows/gen_debian10.3_continuous.yml b/.github/workflows/gen_debian10.3_continuous.yml index a8e645cf7dd..ad2c6095c8f 100644 --- a/.github/workflows/gen_debian10.3_continuous.yml +++ b/.github/workflows/gen_debian10.3_continuous.yml @@ -106,7 +106,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "debian10.3" path: | diff --git a/.github/workflows/gen_debian11_continuous.yml b/.github/workflows/gen_debian11_continuous.yml index 57405c97d3c..4713e7e7568 100644 --- a/.github/workflows/gen_debian11_continuous.yml +++ b/.github/workflows/gen_debian11_continuous.yml @@ -106,7 +106,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "debian11" path: | diff --git a/.github/workflows/gen_debian12_continuous.yml b/.github/workflows/gen_debian12_continuous.yml index 89d798957a0..e7197609c94 100644 --- a/.github/workflows/gen_debian12_continuous.yml +++ b/.github/workflows/gen_debian12_continuous.yml @@ -106,7 +106,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "debian12" path: | diff --git a/.github/workflows/gen_fedora38_continuous.yml b/.github/workflows/gen_fedora38_continuous.yml index dadc6c0c2c1..fb1777522f3 100644 --- a/.github/workflows/gen_fedora38_continuous.yml +++ b/.github/workflows/gen_fedora38_continuous.yml @@ -103,7 +103,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora38.rpm" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "fedora38" path: "wezterm-*.rpm" diff --git a/.github/workflows/gen_fedora39_continuous.yml b/.github/workflows/gen_fedora39_continuous.yml index 436275fc47c..fc4a1525202 100644 --- a/.github/workflows/gen_fedora39_continuous.yml +++ b/.github/workflows/gen_fedora39_continuous.yml @@ -103,7 +103,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora39.rpm" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "fedora39" path: "wezterm-*.rpm" diff --git a/.github/workflows/gen_fedora40_continuous.yml b/.github/workflows/gen_fedora40_continuous.yml index 0e563e45700..8b56084c8a7 100644 --- a/.github/workflows/gen_fedora40_continuous.yml +++ b/.github/workflows/gen_fedora40_continuous.yml @@ -103,7 +103,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora40.rpm" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "fedora40" path: "wezterm-*.rpm" diff --git a/.github/workflows/gen_macos_continuous.yml b/.github/workflows/gen_macos_continuous.yml index a7ff4d77590..cc585603bc8 100644 --- a/.github/workflows/gen_macos_continuous.yml +++ b/.github/workflows/gen_macos_continuous.yml @@ -100,7 +100,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "macos" path: "WezTerm-*.zip" diff --git a/.github/workflows/gen_ubuntu20.04_continuous.yml b/.github/workflows/gen_ubuntu20.04_continuous.yml index 0c350aaf3e3..a3917e104d6 100644 --- a/.github/workflows/gen_ubuntu20.04_continuous.yml +++ b/.github/workflows/gen_ubuntu20.04_continuous.yml @@ -120,7 +120,7 @@ jobs: shell: bash run: "bash ci/appimage.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "ubuntu20.04" path: | diff --git a/.github/workflows/gen_ubuntu22.04_continuous.yml b/.github/workflows/gen_ubuntu22.04_continuous.yml index 34f2b891859..e54fe0b89b3 100644 --- a/.github/workflows/gen_ubuntu22.04_continuous.yml +++ b/.github/workflows/gen_ubuntu22.04_continuous.yml @@ -106,7 +106,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "ubuntu22.04" path: | diff --git a/.github/workflows/gen_ubuntu24.04_continuous.yml b/.github/workflows/gen_ubuntu24.04_continuous.yml index 6b4bf612672..bef647cfc47 100644 --- a/.github/workflows/gen_ubuntu24.04_continuous.yml +++ b/.github/workflows/gen_ubuntu24.04_continuous.yml @@ -106,7 +106,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "ubuntu24.04" path: | diff --git a/.github/workflows/gen_windows_continuous.yml b/.github/workflows/gen_windows_continuous.yml index c470f796685..94c0f017b01 100644 --- a/.github/workflows/gen_windows_continuous.yml +++ b/.github/workflows/gen_windows_continuous.yml @@ -85,7 +85,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: "windows" path: | diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index 7e9bc5dfe57..b83255bbf78 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -609,7 +609,7 @@ def upload_artifact_nightly(self): return steps + [ ActionStep( "Upload artifact", - action="actions/upload-artifact@v3", + action="actions/upload-artifact@v4", params={"name": self.name, "path": paths, "retention-days": 5}, ), ]