diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-02-28 03:26:59 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-02-28 03:26:59 +0000 |
commit | c5516f153eaf27db423ad0544bad9eaa5e6fe79c (patch) | |
tree | e74ebe2ac25697bb2a3039f43f2347f4e473750b | |
parent | Add forgotten publish target (diff) | |
download | miniserve-c5516f153eaf27db423ad0544bad9eaa5e6fe79c.tar.gz miniserve-c5516f153eaf27db423ad0544bad9eaa5e6fe79c.zip |
Don't try to compress every binary using upx
Not all architectures are supported by upx.
-rw-r--r-- | .github/workflows/publish.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 31b11b1..05f1730 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,66 +30,77 @@ jobs: release_name: x86_64-unknown-linux-musl cross: true strip: true + compress: true - os: ubuntu-latest target: aarch64-unknown-linux-musl artifact_name: target/aarch64-unknown-linux-musl/release/miniserve release_name: aarch64-unknown-linux-musl cross: true strip: false + compress: true - os: ubuntu-latest target: armv7-unknown-linux-musleabihf artifact_name: target/armv7-unknown-linux-musleabihf/release/miniserve release_name: armv7-unknown-linux-musleabihf cross: true strip: false + compress: true - os: ubuntu-latest target: arm-unknown-linux-musleabihf artifact_name: target/arm-unknown-linux-musleabihf/release/miniserve release_name: arm-unknown-linux-musleabihf cross: true strip: false + compress: true - os: ubuntu-latest target: mips-unknown-linux-musl artifact_name: target/mips-unknown-linux-musl/release/miniserve release_name: mips-unknown-linux-musl cross: true strip: false + compress: true - os: ubuntu-latest target: mipsel-unknown-linux-musl artifact_name: target/mipsel-unknown-linux-musl/release/miniserve release_name: mipsel-unknown-linux-musl cross: true strip: false + compress: true - os: ubuntu-latest target: mips64-unknown-linux-gnuabi64 artifact_name: target/mips64-unknown-linux-gnuabi64/release/miniserve release_name: mips64-unknown-linux-gnuabi64 cross: true strip: false + compress: false - os: ubuntu-latest target: mips64el-unknown-linux-gnuabi64 artifact_name: target/mips64el-unknown-linux-gnuabi64/release/miniserve release_name: mips64el-unknown-linux-gnuabi64 cross: true strip: false + compress: false - os: ubuntu-latest target: riscv64gc-unknown-linux-gnu artifact_name: target/riscv64gc-unknown-linux-gnu/release/miniserve release_name: riscv64gc-unknown-linux-gnu cross: true strip: false + compress: false - os: windows-latest target: x86_64-pc-windows-msvc artifact_name: target/x86_64-pc-windows-msvc/release/miniserve.exe release_name: x86_64-pc-windows-msvc.exe cross: false strip: true + compress: true - os: macos-latest target: x86_64-apple-darwin artifact_name: target/x86_64-apple-darwin/release/miniserve release_name: x86_64-apple-darwin cross: false strip: true + compress: true steps: - name: Checkout code @@ -114,6 +125,7 @@ jobs: file: ${{ matrix.artifact_name }} args: --lzma strip: ${{ matrix.strip }} + if: ${{ matrix.compress }} - name: Get tag name id: tag_name |