mirror of
https://github.com/wez/wezterm.git
synced 2025-01-03 11:11:43 +03:00
ci: update upload/download artifact workflows
closes: https://github.com/wez/wezterm/pull/6083
This commit is contained in:
parent
6c1dbc0eb2
commit
7b342a6b39
2
.github/workflows/gen_centos9.yml
vendored
2
.github/workflows/gen_centos9.yml
vendored
@ -103,7 +103,7 @@ jobs:
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "centos9"
|
||||
path: "wezterm-*.rpm"
|
||||
|
2
.github/workflows/gen_centos9_continuous.yml
vendored
2
.github/workflows/gen_centos9_continuous.yml
vendored
@ -123,7 +123,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "centos9"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_centos9_tag.yml
vendored
4
.github/workflows/gen_centos9_tag.yml
vendored
@ -86,7 +86,7 @@ jobs:
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "centos9"
|
||||
path: "wezterm-*.rpm"
|
||||
@ -102,7 +102,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "centos9"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_debian10.3.yml
vendored
2
.github/workflows/gen_debian10.3.yml
vendored
@ -103,7 +103,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: |
|
||||
|
@ -125,7 +125,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "debian10.3"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_debian10.3_tag.yml
vendored
4
.github/workflows/gen_debian10.3_tag.yml
vendored
@ -86,7 +86,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: |
|
||||
@ -104,7 +104,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "debian10.3"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_debian11.yml
vendored
2
.github/workflows/gen_debian11.yml
vendored
@ -103,7 +103,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: |
|
||||
|
@ -125,7 +125,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "debian11"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_debian11_tag.yml
vendored
4
.github/workflows/gen_debian11_tag.yml
vendored
@ -86,7 +86,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: |
|
||||
@ -104,7 +104,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "debian11"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_debian12.yml
vendored
2
.github/workflows/gen_debian12.yml
vendored
@ -103,7 +103,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: |
|
||||
|
@ -125,7 +125,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "debian12"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_debian12_tag.yml
vendored
4
.github/workflows/gen_debian12_tag.yml
vendored
@ -86,7 +86,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: |
|
||||
@ -104,7 +104,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "debian12"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_fedora38.yml
vendored
2
.github/workflows/gen_fedora38.yml
vendored
@ -100,7 +100,7 @@ jobs:
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "fedora38"
|
||||
path: "wezterm-*.rpm"
|
||||
|
@ -120,7 +120,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "fedora38"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_fedora38_tag.yml
vendored
4
.github/workflows/gen_fedora38_tag.yml
vendored
@ -83,7 +83,7 @@ jobs:
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "fedora38"
|
||||
path: "wezterm-*.rpm"
|
||||
@ -99,7 +99,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "fedora38"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_fedora39.yml
vendored
2
.github/workflows/gen_fedora39.yml
vendored
@ -100,7 +100,7 @@ jobs:
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "fedora39"
|
||||
path: "wezterm-*.rpm"
|
||||
|
@ -120,7 +120,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "fedora39"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_fedora39_tag.yml
vendored
4
.github/workflows/gen_fedora39_tag.yml
vendored
@ -83,7 +83,7 @@ jobs:
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "fedora39"
|
||||
path: "wezterm-*.rpm"
|
||||
@ -99,7 +99,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "fedora39"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_fedora40.yml
vendored
2
.github/workflows/gen_fedora40.yml
vendored
@ -100,7 +100,7 @@ jobs:
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "fedora40"
|
||||
path: "wezterm-*.rpm"
|
||||
|
@ -120,7 +120,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "fedora40"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_fedora40_tag.yml
vendored
4
.github/workflows/gen_fedora40_tag.yml
vendored
@ -83,7 +83,7 @@ jobs:
|
||||
shell: bash
|
||||
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "fedora40"
|
||||
path: "wezterm-*.rpm"
|
||||
@ -99,7 +99,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "fedora40"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_macos.yml
vendored
2
.github/workflows/gen_macos.yml
vendored
@ -91,7 +91,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"
|
||||
|
2
.github/workflows/gen_macos_continuous.yml
vendored
2
.github/workflows/gen_macos_continuous.yml
vendored
@ -114,7 +114,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "macos"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_macos_tag.yml
vendored
4
.github/workflows/gen_macos_tag.yml
vendored
@ -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: "macos"
|
||||
path: "WezTerm-*.zip"
|
||||
@ -112,7 +112,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "macos"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_ubuntu20.04.yml
vendored
2
.github/workflows/gen_ubuntu20.04.yml
vendored
@ -117,7 +117,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: |
|
||||
|
@ -142,7 +142,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "ubuntu20.04"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
4
.github/workflows/gen_ubuntu20.04_tag.yml
vendored
@ -97,7 +97,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: |
|
||||
@ -132,7 +132,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "ubuntu20.04"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_ubuntu22.04.yml
vendored
2
.github/workflows/gen_ubuntu22.04.yml
vendored
@ -103,7 +103,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: |
|
||||
|
@ -125,7 +125,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "ubuntu22.04"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_ubuntu22.04_tag.yml
vendored
4
.github/workflows/gen_ubuntu22.04_tag.yml
vendored
@ -86,7 +86,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: |
|
||||
@ -109,7 +109,7 @@ jobs:
|
||||
shell: bash
|
||||
run: "for f in wezterm*.deb ; do curl -i -F package=@$f https://$FURY_TOKEN@push.fury.io/wez/ ; done"
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "ubuntu22.04"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_ubuntu24.04.yml
vendored
2
.github/workflows/gen_ubuntu24.04.yml
vendored
@ -103,7 +103,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: |
|
||||
|
@ -125,7 +125,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "ubuntu24.04"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_ubuntu24.04_tag.yml
vendored
4
.github/workflows/gen_ubuntu24.04_tag.yml
vendored
@ -86,7 +86,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: |
|
||||
@ -104,7 +104,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "ubuntu24.04"
|
||||
- name: "Checksum"
|
||||
|
2
.github/workflows/gen_windows.yml
vendored
2
.github/workflows/gen_windows.yml
vendored
@ -82,7 +82,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: |
|
||||
|
2
.github/workflows/gen_windows_continuous.yml
vendored
2
.github/workflows/gen_windows_continuous.yml
vendored
@ -101,7 +101,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "windows"
|
||||
- name: "Checksum"
|
||||
|
4
.github/workflows/gen_windows_tag.yml
vendored
4
.github/workflows/gen_windows_tag.yml
vendored
@ -72,7 +72,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: |
|
||||
@ -87,7 +87,7 @@ jobs:
|
||||
- name: "checkout repo"
|
||||
uses: actions/checkout@v4
|
||||
- name: "Download artifact"
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: "windows"
|
||||
- name: "Checksum"
|
||||
|
@ -551,7 +551,7 @@ rustup default {toolchain}
|
||||
return steps + [
|
||||
ActionStep(
|
||||
"Upload artifact",
|
||||
action="actions/upload-artifact@v3",
|
||||
action="actions/upload-artifact@v4",
|
||||
params={"name": self.name, "path": paths},
|
||||
),
|
||||
]
|
||||
@ -638,7 +638,7 @@ rustup default {toolchain}
|
||||
return [
|
||||
ActionStep(
|
||||
"Download artifact",
|
||||
action="actions/download-artifact@v3",
|
||||
action="actions/download-artifact@v4",
|
||||
params={"name": self.name},
|
||||
),
|
||||
checksum,
|
||||
@ -673,7 +673,7 @@ rustup default {toolchain}
|
||||
return steps + [
|
||||
ActionStep(
|
||||
"Download artifact",
|
||||
action="actions/download-artifact@v3",
|
||||
action="actions/download-artifact@v4",
|
||||
params={"name": self.name},
|
||||
),
|
||||
checksum,
|
||||
|
Loading…
Reference in New Issue
Block a user