1
1
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:
Wez Furlong 2024-09-21 12:00:03 -07:00
parent 6c1dbc0eb2
commit 7b342a6b39
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
37 changed files with 51 additions and 51 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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: |

View File

@ -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"

View File

@ -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"

View File

@ -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: |

View File

@ -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"

View File

@ -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"

View File

@ -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: |

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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: |

View File

@ -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"

View File

@ -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"

View File

@ -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: |

View File

@ -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"

View File

@ -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"

View File

@ -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: |

View File

@ -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"

View File

@ -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"

View File

@ -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: |

View File

@ -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"

View File

@ -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"

View File

@ -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,