CI: Extract upload step from justfile
Some checks are pending
/ verify (push) Waiting to run

This commit is contained in:
Juno Takano 2026-02-18 17:07:26 -03:00
commit 0c21f1898a
2 changed files with 15 additions and 11 deletions

View file

@ -51,6 +51,16 @@ jobs:
mv -v /tmp/tools/just /tmp/tools/cargo-llvm-cov /usr/local/bin
- name: Build release binary and upload it
run: just upload
- name: Build release binary
run: just full-build
- name: Upload release binary to git.jutty.dev package registry
run: |
api_root=https://git.jutty.dev/api/
url=$api_root/packages/jutty/generic/en/$version/en-x86_64-linux-gnu
curl -fsSL \
--user jutty:${{ secrets.GJD_REGISTRY_TOKEN }} \
--upload-file target/release/en $url
- name: Print sha256sum
run: just shasum