1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-11 14:25:57 +03:00

ci: publish amd64 builds to apt repo when releasing

Currently only arm builds are published for releases
This commit is contained in:
Wez Furlong 2024-02-05 06:48:49 -07:00
parent 22150bfba6
commit 11a3133f5d
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
2 changed files with 14 additions and 0 deletions

View File

@ -94,6 +94,11 @@ jobs:
run: "git config --global --add safe.directory /__w/wezterm/wezterm"
- name: "checkout repo"
uses: actions/checkout@v4
- name: "Upload to gemfury"
env:
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
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
with:

View File

@ -644,6 +644,15 @@ cargo build --all --release""",
patterns.append("*.sha256")
glob = " ".join(patterns)
if self.container == "ubuntu:22.04":
steps += [
RunStep(
"Upload to gemfury",
f"for f in wezterm*.deb ; do curl -i -F package=@$f https://$FURY_TOKEN@push.fury.io/wez/ ; done",
env={"FURY_TOKEN": "${{ secrets.FURY_TOKEN }}"},
),
]
return steps + [
ActionStep(
"Download artifact",