From 1d908457aeeb66eae00590d90e4c220609b716fd Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 10 Apr 2022 18:36:34 -0700 Subject: [PATCH] ci: (up|down)load-artifact v2 -> v3 --- .github/workflows/gen_centos8.yml | 2 +- .github/workflows/gen_centos8_continuous.yml | 4 ++-- .github/workflows/gen_centos8_tag.yml | 4 ++-- .github/workflows/gen_centos9.yml | 2 +- .github/workflows/gen_centos9_continuous.yml | 4 ++-- .github/workflows/gen_centos9_tag.yml | 4 ++-- .github/workflows/gen_debian10.3.yml | 2 +- .github/workflows/gen_debian10.3_continuous.yml | 4 ++-- .github/workflows/gen_debian10.3_tag.yml | 4 ++-- .github/workflows/gen_debian11.yml | 2 +- .github/workflows/gen_debian11_continuous.yml | 4 ++-- .github/workflows/gen_debian11_tag.yml | 4 ++-- .github/workflows/gen_debian9.12.yml | 2 +- .github/workflows/gen_debian9.12_continuous.yml | 4 ++-- .github/workflows/gen_debian9.12_tag.yml | 4 ++-- .github/workflows/gen_fedora33.yml | 2 +- .github/workflows/gen_fedora33_continuous.yml | 4 ++-- .github/workflows/gen_fedora33_tag.yml | 4 ++-- .github/workflows/gen_fedora34.yml | 2 +- .github/workflows/gen_fedora34_continuous.yml | 4 ++-- .github/workflows/gen_fedora34_tag.yml | 4 ++-- .github/workflows/gen_fedora35.yml | 2 +- .github/workflows/gen_fedora35_continuous.yml | 4 ++-- .github/workflows/gen_fedora35_tag.yml | 4 ++-- .github/workflows/gen_macos.yml | 2 +- .github/workflows/gen_macos_continuous.yml | 4 ++-- .github/workflows/gen_macos_tag.yml | 4 ++-- .github/workflows/gen_ubuntu18.yml | 2 +- .github/workflows/gen_ubuntu18_continuous.yml | 4 ++-- .github/workflows/gen_ubuntu18_tag.yml | 4 ++-- .github/workflows/gen_ubuntu20.04.yml | 2 +- .github/workflows/gen_ubuntu20.04_continuous.yml | 4 ++-- .github/workflows/gen_ubuntu20.04_tag.yml | 4 ++-- .github/workflows/gen_windows.yml | 2 +- .github/workflows/gen_windows_continuous.yml | 4 ++-- .github/workflows/gen_windows_tag.yml | 4 ++-- ci/generate-workflows.py | 8 ++++---- 37 files changed, 64 insertions(+), 64 deletions(-) diff --git a/.github/workflows/gen_centos8.yml b/.github/workflows/gen_centos8.yml index 13b7df1fb..dfcf75dc3 100644 --- a/.github/workflows/gen_centos8.yml +++ b/.github/workflows/gen_centos8.yml @@ -75,7 +75,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "centos8" path: "wezterm-*.rpm" diff --git a/.github/workflows/gen_centos8_continuous.yml b/.github/workflows/gen_centos8_continuous.yml index 324fbded1..a766f7091 100644 --- a/.github/workflows/gen_centos8_continuous.yml +++ b/.github/workflows/gen_centos8_continuous.yml @@ -99,7 +99,7 @@ jobs: export BUILD_REASON=Schedule mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-centos8.rpm - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "centos8" path: "wezterm-*.rpm" @@ -112,7 +112,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "centos8" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_centos8_tag.yml b/.github/workflows/gen_centos8_tag.yml index 749a5634e..d47fecf3c 100644 --- a/.github/workflows/gen_centos8_tag.yml +++ b/.github/workflows/gen_centos8_tag.yml @@ -65,7 +65,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "centos8" path: "wezterm-*.rpm" @@ -77,7 +77,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "centos8" - name: "Create pre-release" diff --git a/.github/workflows/gen_centos9.yml b/.github/workflows/gen_centos9.yml index 5e78ca78f..019dcb6d9 100644 --- a/.github/workflows/gen_centos9.yml +++ b/.github/workflows/gen_centos9.yml @@ -75,7 +75,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "centos9" path: "wezterm-*.rpm" diff --git a/.github/workflows/gen_centos9_continuous.yml b/.github/workflows/gen_centos9_continuous.yml index e977a0fe5..f9c2853c0 100644 --- a/.github/workflows/gen_centos9_continuous.yml +++ b/.github/workflows/gen_centos9_continuous.yml @@ -99,7 +99,7 @@ jobs: export BUILD_REASON=Schedule mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-centos9.rpm - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "centos9" path: "wezterm-*.rpm" @@ -112,7 +112,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "centos9" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_centos9_tag.yml b/.github/workflows/gen_centos9_tag.yml index beaa5c96a..6fe3c2c4b 100644 --- a/.github/workflows/gen_centos9_tag.yml +++ b/.github/workflows/gen_centos9_tag.yml @@ -65,7 +65,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "centos9" path: "wezterm-*.rpm" @@ -77,7 +77,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "centos9" - name: "Create pre-release" diff --git a/.github/workflows/gen_debian10.3.yml b/.github/workflows/gen_debian10.3.yml index 27233325a..17a9211b5 100644 --- a/.github/workflows/gen_debian10.3.yml +++ b/.github/workflows/gen_debian10.3.yml @@ -75,7 +75,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "debian10.3" path: | diff --git a/.github/workflows/gen_debian10.3_continuous.yml b/.github/workflows/gen_debian10.3_continuous.yml index 14a2499ac..d91905997 100644 --- a/.github/workflows/gen_debian10.3_continuous.yml +++ b/.github/workflows/gen_debian10.3_continuous.yml @@ -99,7 +99,7 @@ jobs: export BUILD_REASON=Schedule bash ci/deploy.sh - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "debian10.3" path: | @@ -114,7 +114,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "debian10.3" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_debian10.3_tag.yml b/.github/workflows/gen_debian10.3_tag.yml index b5ec6642b..6c6538cee 100644 --- a/.github/workflows/gen_debian10.3_tag.yml +++ b/.github/workflows/gen_debian10.3_tag.yml @@ -65,7 +65,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "debian10.3" path: | @@ -79,7 +79,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "debian10.3" - name: "Create pre-release" diff --git a/.github/workflows/gen_debian11.yml b/.github/workflows/gen_debian11.yml index fc5ceeb18..f98fcefd4 100644 --- a/.github/workflows/gen_debian11.yml +++ b/.github/workflows/gen_debian11.yml @@ -75,7 +75,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "debian11" path: | diff --git a/.github/workflows/gen_debian11_continuous.yml b/.github/workflows/gen_debian11_continuous.yml index 519d06abe..03f6b39bf 100644 --- a/.github/workflows/gen_debian11_continuous.yml +++ b/.github/workflows/gen_debian11_continuous.yml @@ -99,7 +99,7 @@ jobs: export BUILD_REASON=Schedule bash ci/deploy.sh - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "debian11" path: | @@ -114,7 +114,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "debian11" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_debian11_tag.yml b/.github/workflows/gen_debian11_tag.yml index d1b5e7728..6c9ec8893 100644 --- a/.github/workflows/gen_debian11_tag.yml +++ b/.github/workflows/gen_debian11_tag.yml @@ -65,7 +65,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "debian11" path: | @@ -79,7 +79,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "debian11" - name: "Create pre-release" diff --git a/.github/workflows/gen_debian9.12.yml b/.github/workflows/gen_debian9.12.yml index b130dd4a7..ef2404264 100644 --- a/.github/workflows/gen_debian9.12.yml +++ b/.github/workflows/gen_debian9.12.yml @@ -89,7 +89,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "debian9.12" path: | diff --git a/.github/workflows/gen_debian9.12_continuous.yml b/.github/workflows/gen_debian9.12_continuous.yml index f3f5c257d..1a78bd717 100644 --- a/.github/workflows/gen_debian9.12_continuous.yml +++ b/.github/workflows/gen_debian9.12_continuous.yml @@ -112,7 +112,7 @@ jobs: export BUILD_REASON=Schedule bash ci/deploy.sh - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "debian9.12" path: | @@ -127,7 +127,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "debian9.12" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_debian9.12_tag.yml b/.github/workflows/gen_debian9.12_tag.yml index 09f68354e..0d1e4cd90 100644 --- a/.github/workflows/gen_debian9.12_tag.yml +++ b/.github/workflows/gen_debian9.12_tag.yml @@ -79,7 +79,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "debian9.12" path: | @@ -93,7 +93,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "debian9.12" - name: "Create pre-release" diff --git a/.github/workflows/gen_fedora33.yml b/.github/workflows/gen_fedora33.yml index 5e3b4b7bb..e0d5c71cd 100644 --- a/.github/workflows/gen_fedora33.yml +++ b/.github/workflows/gen_fedora33.yml @@ -72,7 +72,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "fedora33" path: "wezterm-*.rpm" diff --git a/.github/workflows/gen_fedora33_continuous.yml b/.github/workflows/gen_fedora33_continuous.yml index 8f4f8fb2d..48b2a239a 100644 --- a/.github/workflows/gen_fedora33_continuous.yml +++ b/.github/workflows/gen_fedora33_continuous.yml @@ -94,7 +94,7 @@ jobs: export BUILD_REASON=Schedule mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora33.rpm - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "fedora33" path: "wezterm-*.rpm" @@ -107,7 +107,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "fedora33" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_fedora33_tag.yml b/.github/workflows/gen_fedora33_tag.yml index 35e2bce39..9673ad45f 100644 --- a/.github/workflows/gen_fedora33_tag.yml +++ b/.github/workflows/gen_fedora33_tag.yml @@ -62,7 +62,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "fedora33" path: "wezterm-*.rpm" @@ -74,7 +74,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "fedora33" - name: "Create pre-release" diff --git a/.github/workflows/gen_fedora34.yml b/.github/workflows/gen_fedora34.yml index f085f1182..6b161793c 100644 --- a/.github/workflows/gen_fedora34.yml +++ b/.github/workflows/gen_fedora34.yml @@ -72,7 +72,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "fedora34" path: "wezterm-*.rpm" diff --git a/.github/workflows/gen_fedora34_continuous.yml b/.github/workflows/gen_fedora34_continuous.yml index 5ac278031..e54d1d311 100644 --- a/.github/workflows/gen_fedora34_continuous.yml +++ b/.github/workflows/gen_fedora34_continuous.yml @@ -94,7 +94,7 @@ jobs: export BUILD_REASON=Schedule mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora34.rpm - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "fedora34" path: "wezterm-*.rpm" @@ -107,7 +107,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "fedora34" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_fedora34_tag.yml b/.github/workflows/gen_fedora34_tag.yml index 2cfbd4fdf..8e1c71915 100644 --- a/.github/workflows/gen_fedora34_tag.yml +++ b/.github/workflows/gen_fedora34_tag.yml @@ -62,7 +62,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "fedora34" path: "wezterm-*.rpm" @@ -74,7 +74,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "fedora34" - name: "Create pre-release" diff --git a/.github/workflows/gen_fedora35.yml b/.github/workflows/gen_fedora35.yml index 94cc11055..deb6fced2 100644 --- a/.github/workflows/gen_fedora35.yml +++ b/.github/workflows/gen_fedora35.yml @@ -72,7 +72,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "fedora35" path: "wezterm-*.rpm" diff --git a/.github/workflows/gen_fedora35_continuous.yml b/.github/workflows/gen_fedora35_continuous.yml index 5e6dfed9f..dcbfb7ccc 100644 --- a/.github/workflows/gen_fedora35_continuous.yml +++ b/.github/workflows/gen_fedora35_continuous.yml @@ -94,7 +94,7 @@ jobs: export BUILD_REASON=Schedule mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-fedora35.rpm - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "fedora35" path: "wezterm-*.rpm" @@ -107,7 +107,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "fedora35" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_fedora35_tag.yml b/.github/workflows/gen_fedora35_tag.yml index d781faa29..7c0862f67 100644 --- a/.github/workflows/gen_fedora35_tag.yml +++ b/.github/workflows/gen_fedora35_tag.yml @@ -62,7 +62,7 @@ jobs: shell: bash run: "mv ~/rpmbuild/RPMS/*/*.rpm ." - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "fedora35" path: "wezterm-*.rpm" @@ -74,7 +74,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "fedora35" - name: "Create pre-release" diff --git a/.github/workflows/gen_macos.yml b/.github/workflows/gen_macos.yml index 063b2da3e..3218002f3 100644 --- a/.github/workflows/gen_macos.yml +++ b/.github/workflows/gen_macos.yml @@ -64,7 +64,7 @@ jobs: export MACOSX_DEPLOYMENT_TARGET=10.9 bash ci/deploy.sh - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "macos" path: "WezTerm-*.zip" diff --git a/.github/workflows/gen_macos_continuous.yml b/.github/workflows/gen_macos_continuous.yml index 0a3fcb797..023e90637 100644 --- a/.github/workflows/gen_macos_continuous.yml +++ b/.github/workflows/gen_macos_continuous.yml @@ -84,7 +84,7 @@ jobs: bash ci/deploy.sh - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "macos" path: "WezTerm-*.zip" @@ -97,7 +97,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "macos" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_macos_tag.yml b/.github/workflows/gen_macos_tag.yml index 23bc717f8..3f415cc88 100644 --- a/.github/workflows/gen_macos_tag.yml +++ b/.github/workflows/gen_macos_tag.yml @@ -60,7 +60,7 @@ jobs: export MACOSX_DEPLOYMENT_TARGET=10.9 bash ci/deploy.sh - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "macos" path: "WezTerm-*.zip" @@ -88,7 +88,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "macos" - name: "Create pre-release" diff --git a/.github/workflows/gen_ubuntu18.yml b/.github/workflows/gen_ubuntu18.yml index 441b0548c..2b606da15 100644 --- a/.github/workflows/gen_ubuntu18.yml +++ b/.github/workflows/gen_ubuntu18.yml @@ -66,7 +66,7 @@ jobs: shell: bash run: "bash ci/appimage.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "ubuntu18" path: | diff --git a/.github/workflows/gen_ubuntu18_continuous.yml b/.github/workflows/gen_ubuntu18_continuous.yml index 0a746271f..48edd7f56 100644 --- a/.github/workflows/gen_ubuntu18_continuous.yml +++ b/.github/workflows/gen_ubuntu18_continuous.yml @@ -84,7 +84,7 @@ jobs: export BUILD_REASON=Schedule bash ci/appimage.sh - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "ubuntu18" path: | @@ -102,7 +102,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "ubuntu18" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_ubuntu18_tag.yml b/.github/workflows/gen_ubuntu18_tag.yml index 28152f439..c9a2c1b65 100644 --- a/.github/workflows/gen_ubuntu18_tag.yml +++ b/.github/workflows/gen_ubuntu18_tag.yml @@ -56,7 +56,7 @@ jobs: shell: bash run: "bash ci/appimage.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "ubuntu18" path: | @@ -87,7 +87,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "ubuntu18" - name: "Create pre-release" diff --git a/.github/workflows/gen_ubuntu20.04.yml b/.github/workflows/gen_ubuntu20.04.yml index 6d144f3fc..30dec0f88 100644 --- a/.github/workflows/gen_ubuntu20.04.yml +++ b/.github/workflows/gen_ubuntu20.04.yml @@ -75,7 +75,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "ubuntu20.04" path: | diff --git a/.github/workflows/gen_ubuntu20.04_continuous.yml b/.github/workflows/gen_ubuntu20.04_continuous.yml index a156697c1..1663904a7 100644 --- a/.github/workflows/gen_ubuntu20.04_continuous.yml +++ b/.github/workflows/gen_ubuntu20.04_continuous.yml @@ -99,7 +99,7 @@ jobs: export BUILD_REASON=Schedule bash ci/deploy.sh - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "ubuntu20.04" path: | @@ -114,7 +114,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "ubuntu20.04" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_ubuntu20.04_tag.yml b/.github/workflows/gen_ubuntu20.04_tag.yml index 5448c91ae..d6d35d755 100644 --- a/.github/workflows/gen_ubuntu20.04_tag.yml +++ b/.github/workflows/gen_ubuntu20.04_tag.yml @@ -65,7 +65,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "ubuntu20.04" path: | @@ -79,7 +79,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "ubuntu20.04" - name: "Create pre-release" diff --git a/.github/workflows/gen_windows.yml b/.github/workflows/gen_windows.yml index b38289391..1ddbe68e9 100644 --- a/.github/workflows/gen_windows.yml +++ b/.github/workflows/gen_windows.yml @@ -55,7 +55,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "windows" path: | diff --git a/.github/workflows/gen_windows_continuous.yml b/.github/workflows/gen_windows_continuous.yml index 136a82b9d..093616404 100644 --- a/.github/workflows/gen_windows_continuous.yml +++ b/.github/workflows/gen_windows_continuous.yml @@ -61,7 +61,7 @@ jobs: export BUILD_REASON=Schedule bash ci/deploy.sh - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "windows" path: | @@ -76,7 +76,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "windows" - name: "Upload to Nightly Release" diff --git a/.github/workflows/gen_windows_tag.yml b/.github/workflows/gen_windows_tag.yml index 536bccaf8..b6c34b317 100644 --- a/.github/workflows/gen_windows_tag.yml +++ b/.github/workflows/gen_windows_tag.yml @@ -45,7 +45,7 @@ jobs: shell: bash run: "bash ci/deploy.sh" - name: "Upload artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: "windows" path: | @@ -59,7 +59,7 @@ jobs: - name: "checkout repo" uses: actions/checkout@v3 - name: "Download artifact" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: "windows" - name: "Create pre-release" diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index 483d911ba..bcd947276 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -365,7 +365,7 @@ cargo build --all --release""", return steps + [ ActionStep( "Upload artifact", - action="actions/upload-artifact@v2", + action="actions/upload-artifact@v3", params={"name": self.name, "path": paths}, ), ] @@ -405,7 +405,7 @@ cargo build --all --release""", return steps + [ ActionStep( "Upload artifact", - action="actions/upload-artifact@v2", + action="actions/upload-artifact@v3", params={"name": self.name, "path": paths, "retention-days": 5}, ), ] @@ -419,7 +419,7 @@ cargo build --all --release""", return steps + [ ActionStep( "Download artifact", - action="actions/download-artifact@v2", + action="actions/download-artifact@v3", params={"name": self.name}, ), RunStep( @@ -438,7 +438,7 @@ cargo build --all --release""", return steps + [ ActionStep( "Download artifact", - action="actions/download-artifact@v2", + action="actions/download-artifact@v3", params={"name": self.name}, ), RunStep(