CI: Fix paths for registry upload, fetch targets
This commit is contained in:
parent
1748dd2fb6
commit
0aa7f957be
2 changed files with 6 additions and 4 deletions
|
|
@ -41,21 +41,21 @@ jobs:
|
|||
|
||||
- name: Publish x64 glibc binary to git.jutty.dev registry
|
||||
run: |
|
||||
version=$(./target/x86_64-unknown-linux-gnu/en --version)
|
||||
version=$(./target/x86_64-unknown-linux-gnu/release/en --version)
|
||||
api_root=https://git.jutty.dev/api
|
||||
url=$api_root/packages/jutty/generic/en/$version/en-x64-linux-gnu
|
||||
|
||||
curl -fsSL \
|
||||
--user jutty:${{ secrets.GJD_REGISTRY_TOKEN }} \
|
||||
--upload-file target/x86_64-unknown-linux-gnu/en $url
|
||||
--upload-file target/x86_64-unknown-linux-gnu/release/en $url
|
||||
|
||||
- name: Publish x64 musl binary to git.jutty.dev registry
|
||||
run: |
|
||||
version=$(./target/x86_64-unknown-linux-musl/en --version)
|
||||
version=$(./target/x86_64-unknown-linux-musl/release/en --version)
|
||||
api_root=https://git.jutty.dev/api
|
||||
url=$api_root/packages/jutty/generic/en/$version/en-x64-linux-musl
|
||||
|
||||
curl -fsSL \
|
||||
--user jutty:${{ secrets.GJD_REGISTRY_TOKEN }} \
|
||||
--upload-file target/x86_64-unknown-linux-musl/en $url
|
||||
--upload-file target/x86_64-unknown-linux-musl/release/en $url
|
||||
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@ jobs:
|
|||
run: |
|
||||
rustup component add llvm-tools-preview
|
||||
rustup component add --toolchain nightly rustfmt clippy
|
||||
rustup target add x86_64-unknown-linux-gnu
|
||||
rustup target add x86_64-unknown-linux-musl
|
||||
|
||||
- name: Setup additional tooling
|
||||
run: .forgejo/workflows/setup-tools.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue