ci: tidy up separate uploader job

Enable it for tags/releases too, and remove some additional git fetches
and installation of the GH CLI inside containers that we no longer need.
This commit is contained in:
Wez Furlong committed 2021-12-08 19:57:25 -07:00
1 parent 20c9badfc8
commit 4143d254aa
34 files changed
+204 -752

No files matched your search

+3 -17
View File
@@ -25,12 +25,6 @@ jobs:
- name: "Enable PowerTools"
shell: bash
run: "dnf config-manager --set-enabled powertools"
- name: "Enable GH CLI repo"
shell: bash
run: "dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo"
- name: "Install GH CLI"
shell: bash
run: "dnf install -y gh"
- name: "Install git"
shell: bash
run: "yum install -y git"
@@ -47,12 +41,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -85,13 +73,11 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Move Package for artifact upload"
- name: "Move RPM"
shell: bash
run: |
mkdir pkg_
mv ~/rpmbuild/RPMS/*/*.rpm pkg_
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "centos8"
path: "pkg_"
path: "wezterm-*.rpm"
@@ -31,16 +31,6 @@ jobs:
run: |
export BUILD_REASON=Schedule
dnf config-manager --set-enabled powertools
- name: "Enable GH CLI repo"
shell: bash
run: |
export BUILD_REASON=Schedule
dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
- name: "Install GH CLI"
shell: bash
run: |
export BUILD_REASON=Schedule
dnf install -y gh
- name: "Install git"
shell: bash
run: |
@@ -65,16 +55,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+11 -12
View File
@@ -16,12 +16,6 @@ jobs:
- name: "Enable PowerTools"
shell: bash
run: "dnf config-manager --set-enabled powertools"
- name: "Enable GH CLI repo"
shell: bash
run: "dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo"
- name: "Install GH CLI"
shell: bash
run: "dnf install -y gh"
- name: "Install git"
shell: bash
run: "yum install -y git"
@@ -38,12 +32,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -81,6 +69,17 @@ jobs:
with:
name: "centos8"
path: "wezterm-*.rpm"
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "centos8"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+3 -30
View File
@@ -34,24 +34,6 @@ jobs:
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install https support for apt"
shell: bash
run: "apt-get install -y apt-transport-https ca-certificates"
- name: "Install GitHub keyring"
shell: bash
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null'
- name: "Show GitHub package list"
shell: bash
run: "cat /etc/apt/sources.list.d/*"
- name: "Update APT again"
shell: bash
run: "apt update"
- name: "Install GH CLI"
shell: bash
run: "apt install -y gh"
- name: "Ensure /run/sshd exists"
shell: bash
run: "mkdir -p /run/sshd"
@@ -62,12 +44,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -100,13 +76,10 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Move Package for artifact upload"
shell: bash
run: |
mkdir pkg_
mv *.deb *.xz pkg_
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "debian10.3"
path: "pkg_"
path: |
wezterm-*.deb
wezterm-*.xz
@@ -46,36 +46,6 @@ jobs:
run: |
export BUILD_REASON=Schedule
apt update
- name: "Install https support for apt"
shell: bash
run: |
export BUILD_REASON=Schedule
apt-get install -y apt-transport-https ca-certificates
- name: "Install GitHub keyring"
shell: bash
run: |
export BUILD_REASON=Schedule
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
- name: "Add GitHub package list"
shell: bash
run: |
export BUILD_REASON=Schedule
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
- name: "Show GitHub package list"
shell: bash
run: |
export BUILD_REASON=Schedule
cat /etc/apt/sources.list.d/*
- name: "Update APT again"
shell: bash
run: |
export BUILD_REASON=Schedule
apt update
- name: "Install GH CLI"
shell: bash
run: |
export BUILD_REASON=Schedule
apt install -y gh
- name: "Ensure /run/sshd exists"
shell: bash
run: |
@@ -90,16 +60,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+11 -24
View File
@@ -25,24 +25,6 @@ jobs:
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install https support for apt"
shell: bash
run: "apt-get install -y apt-transport-https ca-certificates"
- name: "Install GitHub keyring"
shell: bash
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null'
- name: "Show GitHub package list"
shell: bash
run: "cat /etc/apt/sources.list.d/*"
- name: "Update APT again"
shell: bash
run: "apt update"
- name: "Install GH CLI"
shell: bash
run: "apt install -y gh"
- name: "Ensure /run/sshd exists"
shell: bash
run: "mkdir -p /run/sshd"
@@ -53,12 +35,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -95,6 +71,17 @@ jobs:
path: |
wezterm-*.deb
wezterm-*.xz
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "debian10.3"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+3 -30
View File
@@ -34,24 +34,6 @@ jobs:
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install https support for apt"
shell: bash
run: "apt-get install -y apt-transport-https ca-certificates"
- name: "Install GitHub keyring"
shell: bash
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null'
- name: "Show GitHub package list"
shell: bash
run: "cat /etc/apt/sources.list.d/*"
- name: "Update APT again"
shell: bash
run: "apt update"
- name: "Install GH CLI"
shell: bash
run: "apt install -y gh"
- name: "Ensure /run/sshd exists"
shell: bash
run: "mkdir -p /run/sshd"
@@ -62,12 +44,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -100,13 +76,10 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Move Package for artifact upload"
shell: bash
run: |
mkdir pkg_
mv *.deb *.xz pkg_
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "debian11"
path: "pkg_"
path: |
wezterm-*.deb
wezterm-*.xz
@@ -46,36 +46,6 @@ jobs:
run: |
export BUILD_REASON=Schedule
apt update
- name: "Install https support for apt"
shell: bash
run: |
export BUILD_REASON=Schedule
apt-get install -y apt-transport-https ca-certificates
- name: "Install GitHub keyring"
shell: bash
run: |
export BUILD_REASON=Schedule
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
- name: "Add GitHub package list"
shell: bash
run: |
export BUILD_REASON=Schedule
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
- name: "Show GitHub package list"
shell: bash
run: |
export BUILD_REASON=Schedule
cat /etc/apt/sources.list.d/*
- name: "Update APT again"
shell: bash
run: |
export BUILD_REASON=Schedule
apt update
- name: "Install GH CLI"
shell: bash
run: |
export BUILD_REASON=Schedule
apt install -y gh
- name: "Ensure /run/sshd exists"
shell: bash
run: |
@@ -90,16 +60,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+11 -24
View File
@@ -25,24 +25,6 @@ jobs:
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install https support for apt"
shell: bash
run: "apt-get install -y apt-transport-https ca-certificates"
- name: "Install GitHub keyring"
shell: bash
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null'
- name: "Show GitHub package list"
shell: bash
run: "cat /etc/apt/sources.list.d/*"
- name: "Update APT again"
shell: bash
run: "apt update"
- name: "Install GH CLI"
shell: bash
run: "apt install -y gh"
- name: "Ensure /run/sshd exists"
shell: bash
run: "mkdir -p /run/sshd"
@@ -53,12 +35,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -95,6 +71,17 @@ jobs:
path: |
wezterm-*.deb
wezterm-*.xz
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "debian11"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+3 -30
View File
@@ -48,24 +48,6 @@ jobs:
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install https support for apt"
shell: bash
run: "apt-get install -y apt-transport-https ca-certificates"
- name: "Install GitHub keyring"
shell: bash
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null'
- name: "Show GitHub package list"
shell: bash
run: "cat /etc/apt/sources.list.d/*"
- name: "Update APT again"
shell: bash
run: "apt update"
- name: "Install GH CLI"
shell: bash
run: "apt install -y gh"
- name: "Ensure /run/sshd exists"
shell: bash
run: "mkdir -p /run/sshd"
@@ -76,12 +58,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -114,13 +90,10 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Move Package for artifact upload"
shell: bash
run: |
mkdir pkg_
mv *.deb *.xz pkg_
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "debian9.12"
path: "pkg_"
path: |
wezterm-*.deb
wezterm-*.xz
@@ -59,36 +59,6 @@ jobs:
run: |
export BUILD_REASON=Schedule
apt update
- name: "Install https support for apt"
shell: bash
run: |
export BUILD_REASON=Schedule
apt-get install -y apt-transport-https ca-certificates
- name: "Install GitHub keyring"
shell: bash
run: |
export BUILD_REASON=Schedule
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
- name: "Add GitHub package list"
shell: bash
run: |
export BUILD_REASON=Schedule
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
- name: "Show GitHub package list"
shell: bash
run: |
export BUILD_REASON=Schedule
cat /etc/apt/sources.list.d/*
- name: "Update APT again"
shell: bash
run: |
export BUILD_REASON=Schedule
apt update
- name: "Install GH CLI"
shell: bash
run: |
export BUILD_REASON=Schedule
apt install -y gh
- name: "Ensure /run/sshd exists"
shell: bash
run: |
@@ -103,16 +73,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+11 -24
View File
@@ -39,24 +39,6 @@ jobs:
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install https support for apt"
shell: bash
run: "apt-get install -y apt-transport-https ca-certificates"
- name: "Install GitHub keyring"
shell: bash
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null'
- name: "Show GitHub package list"
shell: bash
run: "cat /etc/apt/sources.list.d/*"
- name: "Update APT again"
shell: bash
run: "apt update"
- name: "Install GH CLI"
shell: bash
run: "apt install -y gh"
- name: "Ensure /run/sshd exists"
shell: bash
run: "mkdir -p /run/sshd"
@@ -67,12 +49,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -109,6 +85,17 @@ jobs:
path: |
wezterm-*.deb
wezterm-*.xz
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "debian9.12"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+3 -17
View File
@@ -22,12 +22,6 @@ jobs:
- name: "Install config manager"
shell: bash
run: "dnf install -y 'dnf-command(config-manager)'"
- name: "Enable GH CLI repo"
shell: bash
run: "dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo"
- name: "Install GH CLI"
shell: bash
run: "dnf install -y gh"
- name: "Install git"
shell: bash
run: "yum install -y git"
@@ -44,12 +38,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -82,13 +70,11 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Move Package for artifact upload"
- name: "Move RPM"
shell: bash
run: |
mkdir pkg_
mv ~/rpmbuild/RPMS/*/*.rpm pkg_
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "fedora33"
path: "pkg_"
path: "wezterm-*.rpm"
@@ -26,16 +26,6 @@ jobs:
run: |
export BUILD_REASON=Schedule
dnf install -y 'dnf-command(config-manager)'
- name: "Enable GH CLI repo"
shell: bash
run: |
export BUILD_REASON=Schedule
dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
- name: "Install GH CLI"
shell: bash
run: |
export BUILD_REASON=Schedule
dnf install -y gh
- name: "Install git"
shell: bash
run: |
@@ -60,16 +50,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+11 -12
View File
@@ -13,12 +13,6 @@ jobs:
- name: "Install config manager"
shell: bash
run: "dnf install -y 'dnf-command(config-manager)'"
- name: "Enable GH CLI repo"
shell: bash
run: "dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo"
- name: "Install GH CLI"
shell: bash
run: "dnf install -y gh"
- name: "Install git"
shell: bash
run: "yum install -y git"
@@ -35,12 +29,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -78,6 +66,17 @@ jobs:
with:
name: "fedora33"
path: "wezterm-*.rpm"
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "fedora33"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+3 -17
View File
@@ -22,12 +22,6 @@ jobs:
- name: "Install config manager"
shell: bash
run: "dnf install -y 'dnf-command(config-manager)'"
- name: "Enable GH CLI repo"
shell: bash
run: "dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo"
- name: "Install GH CLI"
shell: bash
run: "dnf install -y gh"
- name: "Install git"
shell: bash
run: "yum install -y git"
@@ -44,12 +38,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -82,13 +70,11 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Move Package for artifact upload"
- name: "Move RPM"
shell: bash
run: |
mkdir pkg_
mv ~/rpmbuild/RPMS/*/*.rpm pkg_
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "fedora34"
path: "pkg_"
path: "wezterm-*.rpm"
@@ -26,16 +26,6 @@ jobs:
run: |
export BUILD_REASON=Schedule
dnf install -y 'dnf-command(config-manager)'
- name: "Enable GH CLI repo"
shell: bash
run: |
export BUILD_REASON=Schedule
dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
- name: "Install GH CLI"
shell: bash
run: |
export BUILD_REASON=Schedule
dnf install -y gh
- name: "Install git"
shell: bash
run: |
@@ -60,16 +50,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+11 -12
View File
@@ -13,12 +13,6 @@ jobs:
- name: "Install config manager"
shell: bash
run: "dnf install -y 'dnf-command(config-manager)'"
- name: "Enable GH CLI repo"
shell: bash
run: "dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo"
- name: "Install GH CLI"
shell: bash
run: "dnf install -y gh"
- name: "Install git"
shell: bash
run: "yum install -y git"
@@ -35,12 +29,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -78,6 +66,17 @@ jobs:
with:
name: "fedora34"
path: "wezterm-*.rpm"
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "fedora34"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+3 -17
View File
@@ -22,12 +22,6 @@ jobs:
- name: "Install config manager"
shell: bash
run: "dnf install -y 'dnf-command(config-manager)'"
- name: "Enable GH CLI repo"
shell: bash
run: "dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo"
- name: "Install GH CLI"
shell: bash
run: "dnf install -y gh"
- name: "Install git"
shell: bash
run: "yum install -y git"
@@ -44,12 +38,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -82,13 +70,11 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Move Package for artifact upload"
- name: "Move RPM"
shell: bash
run: |
mkdir pkg_
mv ~/rpmbuild/RPMS/*/*.rpm pkg_
run: "mv ~/rpmbuild/RPMS/*/*.rpm ."
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "fedora35"
path: "pkg_"
path: "wezterm-*.rpm"
@@ -26,16 +26,6 @@ jobs:
run: |
export BUILD_REASON=Schedule
dnf install -y 'dnf-command(config-manager)'
- name: "Enable GH CLI repo"
shell: bash
run: |
export BUILD_REASON=Schedule
dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
- name: "Install GH CLI"
shell: bash
run: |
export BUILD_REASON=Schedule
dnf install -y gh
- name: "Install git"
shell: bash
run: |
@@ -60,16 +50,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+11 -12
View File
@@ -13,12 +13,6 @@ jobs:
- name: "Install config manager"
shell: bash
run: "dnf install -y 'dnf-command(config-manager)'"
- name: "Enable GH CLI repo"
shell: bash
run: "dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo"
- name: "Install GH CLI"
shell: bash
run: "dnf install -y gh"
- name: "Install git"
shell: bash
run: "yum install -y git"
@@ -35,12 +29,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -78,6 +66,17 @@ jobs:
with:
name: "fedora35"
path: "wezterm-*.rpm"
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "fedora35"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -18
View File
@@ -23,16 +23,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export MACOSX_DEPLOYMENT_TARGET=10.9
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export MACOSX_DEPLOYMENT_TARGET=10.9
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -77,15 +67,8 @@ jobs:
run: |
export MACOSX_DEPLOYMENT_TARGET=10.9
bash ci/deploy.sh
- name: "Move Package for artifact upload"
shell: bash
run: |
export MACOSX_DEPLOYMENT_TARGET=10.9
mkdir pkg_
mv *.zip pkg_
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "macos"
path: "pkg_"
path: "WezTerm-*.zip"
@@ -25,20 +25,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
export MACOSX_DEPLOYMENT_TARGET=10.9
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
export MACOSX_DEPLOYMENT_TARGET=10.9
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+21 -24
View File
@@ -14,16 +14,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export MACOSX_DEPLOYMENT_TARGET=10.9
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export MACOSX_DEPLOYMENT_TARGET=10.9
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -74,20 +64,6 @@ jobs:
with:
name: "macos"
path: "WezTerm-*.zip"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
export MACOSX_DEPLOYMENT_TARGET=10.9
bash ci/retry.sh bash ci/create-release.sh ${{ github.event.release.tag_name }}
- name: "Upload to Tagged Release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
export MACOSX_DEPLOYMENT_TARGET=10.9
bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } WezTerm-*.zip
- name: "Checkout homebrew tap"
uses: actions/checkout@v2
with:
@@ -104,3 +80,24 @@ jobs:
with:
commit_message: "Automated update to match latest tag"
repository: "homebrew-wezterm"
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "macos"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh bash ci/create-release.sh ${{ github.event.release.tag_name }}"
- name: "Upload to Tagged Release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } WezTerm-*.zip"
+6 -13
View File
@@ -29,12 +29,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -73,14 +67,13 @@ jobs:
- name: "Build AppImage"
shell: bash
run: "bash ci/appimage.sh"
- name: "Move Package for artifact upload"
shell: bash
run: |
mkdir pkg_
mv *.deb *.xz pkg_
mv *.AppImage *.zsync pkg_
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "ubuntu18"
path: "pkg_"
path: |
wezterm-*.deb
wezterm-*.xz
*src.tar.gz
*.AppImage
*.zsync
@@ -35,16 +35,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+21 -16
View File
@@ -20,12 +20,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -71,16 +65,6 @@ jobs:
*src.tar.gz
*.AppImage
*.zsync
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh bash ci/create-release.sh ${{ github.event.release.tag_name }}"
- name: "Upload to Tagged Release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync"
- name: "Checkout linuxbrew tap"
uses: actions/checkout@v2
with:
@@ -95,3 +79,24 @@ jobs:
with:
commit_message: "Automated update to match latest tag"
repository: "linuxbrew-wezterm"
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "ubuntu18"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh bash ci/create-release.sh ${{ github.event.release.tag_name }}"
- name: "Upload to Tagged Release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: "bash ci/retry.sh gh release upload --clobber ${ github.event.release.tag_name } wezterm-*.deb wezterm-*.xz *src.tar.gz *.AppImage *.zsync"
+3 -30
View File
@@ -34,24 +34,6 @@ jobs:
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install https support for apt"
shell: bash
run: "apt-get install -y apt-transport-https ca-certificates"
- name: "Install GitHub keyring"
shell: bash
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null'
- name: "Show GitHub package list"
shell: bash
run: "cat /etc/apt/sources.list.d/*"
- name: "Update APT again"
shell: bash
run: "apt update"
- name: "Install GH CLI"
shell: bash
run: "apt install -y gh"
- name: "Ensure /run/sshd exists"
shell: bash
run: "mkdir -p /run/sshd"
@@ -62,12 +44,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -100,13 +76,10 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Move Package for artifact upload"
shell: bash
run: |
mkdir pkg_
mv *.deb *.xz pkg_
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "ubuntu20.04"
path: "pkg_"
path: |
wezterm-*.deb
wezterm-*.xz
@@ -46,36 +46,6 @@ jobs:
run: |
export BUILD_REASON=Schedule
apt update
- name: "Install https support for apt"
shell: bash
run: |
export BUILD_REASON=Schedule
apt-get install -y apt-transport-https ca-certificates
- name: "Install GitHub keyring"
shell: bash
run: |
export BUILD_REASON=Schedule
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
- name: "Add GitHub package list"
shell: bash
run: |
export BUILD_REASON=Schedule
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
- name: "Show GitHub package list"
shell: bash
run: |
export BUILD_REASON=Schedule
cat /etc/apt/sources.list.d/*
- name: "Update APT again"
shell: bash
run: |
export BUILD_REASON=Schedule
apt update
- name: "Install GH CLI"
shell: bash
run: |
export BUILD_REASON=Schedule
apt install -y gh
- name: "Ensure /run/sshd exists"
shell: bash
run: |
@@ -90,16 +60,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+11 -24
View File
@@ -25,24 +25,6 @@ jobs:
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install https support for apt"
shell: bash
run: "apt-get install -y apt-transport-https ca-certificates"
- name: "Install GitHub keyring"
shell: bash
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null'
- name: "Show GitHub package list"
shell: bash
run: "cat /etc/apt/sources.list.d/*"
- name: "Update APT again"
shell: bash
run: "apt update"
- name: "Install GH CLI"
shell: bash
run: "apt install -y gh"
- name: "Ensure /run/sshd exists"
shell: bash
run: "mkdir -p /run/sshd"
@@ -53,12 +35,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -95,6 +71,17 @@ jobs:
path: |
wezterm-*.deb
wezterm-*.xz
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "ubuntu20.04"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+3 -12
View File
@@ -23,12 +23,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -62,13 +56,10 @@ jobs:
- name: "Package"
shell: bash
run: "bash ci/deploy.sh"
- name: "Move Package for artifact upload"
shell: bash
run: |
mkdir pkg_
mv *.zip *.exe pkg_
- name: "Upload artifact"
uses: actions/upload-artifact@v2
with:
name: "windows"
path: "pkg_"
path: |
WezTerm-*.zip
WezTerm-*.exe
@@ -25,16 +25,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: "Fetch tag/branch history"
shell: bash
run: |
export BUILD_REASON=Schedule
git fetch --prune --unshallow
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
+11 -6
View File
@@ -14,12 +14,6 @@ jobs:
uses: actions/checkout@v2
with:
submodules: "recursive"
- name: "Fetch tags"
shell: bash
run: "git fetch --depth=1 origin +refs/tags/*:refs/tags/*"
- name: "Fetch tag/branch history"
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
@@ -57,6 +51,17 @@ jobs:
path: |
WezTerm-*.zip
WezTerm-*.exe
upload:
runs-on: ubuntu-latest
needs: build
steps:
- name: "checkout repo"
uses: actions/checkout@v2
- name: "Download artifact"
uses: actions/download-artifact@v2
with:
name: "windows"
- name: "Create pre-release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}