1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 15:04:36 +03:00

ci: (up|down)load-artifact v2 -> v3

This commit is contained in:
Wez Furlong 2022-04-10 18:36:34 -07:00
parent b95f453ede
commit 1d908457ae
37 changed files with 64 additions and 64 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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