From 05fb08cc378b3af6d57da7fbdf87e7b76b354e51 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Tue, 11 Jun 2024 11:32:16 +0200 Subject: [PATCH] workflow updated. --- .github/workflows/release.yml | 21 +++------------------ Cargo.lock | 12 ++++++------ Cargo.toml | 4 ++-- 3 files changed, 11 insertions(+), 26 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74ceddb..d157d0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,15 +32,8 @@ jobs: os: macos-12 - target: x86_64-pc-windows-msvc os: windows-latest - - # Targets using cross-compilation (upload-rust-binary-action - # detects that they need cross). - - # TODO: fix musl so it statically links during release, see - # https://github.com/Wilfred/difftastic/issues/563 - # - # - target: x86_64-unknown-linux-musl - # os: ubuntu-20.04 + - target: x86_64-unknown-linux-musl + os: ubuntu-latest - target: aarch64-unknown-linux-gnu os: ubuntu-latest - target: aarch64-apple-darwin @@ -56,16 +49,8 @@ jobs: tar: unix # (optional) On which platform to distribute the `.zip` file. zip: windows - # (optional) Target triple, default is host triple. target: ${{ matrix.target }} + archive: $bin-$target-$tag env: # (required) GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - push_crates_io: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: katyo/publish-crates@v1 - with: - registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/Cargo.lock b/Cargo.lock index b92429f..adca9dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -475,12 +475,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ "bytes", - "futures-core", + "futures-util", "http", "http-body", "pin-project-lite", @@ -488,9 +488,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.9.1" +version = "1.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8720bf4c5bfb5b6c350840c4cd14b787bf00ed51c148c857fbf7a6ddb7062764" +checksum = "9f3935c160d00ac752e09787e6e6bfc26494c2183cc922f1bc678a60d4733bc2" [[package]] name = "hyper" @@ -903,7 +903,7 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "planturl" -version = "0.4.2" +version = "0.4.3" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index f1f3ce1..149c69e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "planturl" -version = "0.4.2" +version = "0.4.3" edition = "2021" authors = ["Micha Glave