diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 5309711..7d9686d 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -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 diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/verify.yaml similarity index 90% rename from .forgejo/workflows/check.yaml rename to .forgejo/workflows/verify.yaml index eaa81a0..a8ebe71 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/verify.yaml @@ -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