Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
ci(release): delete compress binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
M3DZIK committed Aug 17, 2022
1 parent 83f2961 commit 5d2afe3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 28 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/build-release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,53 +30,41 @@ jobs:
artifact_name: target/x86_64-unknown-linux-musl/release/servers
release_name: x86_64-unknown-linux-musl
cross: true
strip: true
compress: true
cargo_flags: ""

- os: ubuntu-latest
target: aarch64-unknown-linux-musl
artifact_name: target/aarch64-unknown-linux-musl/release/servers
release_name: aarch64-unknown-linux-musl
cross: true
strip: false
compress: true
cargo_flags: ""

- os: windows-latest
target: x86_64-pc-windows-msvc
artifact_name: target/x86_64-pc-windows-msvc/release/servers.exe
release_name: x86_64-pc-windows-msvc.exe
cross: false
strip: true
compress: true
cargo_flags: ""

- os: macos-latest
target: x86_64-apple-darwin
artifact_name: target/x86_64-apple-darwin/release/servers
release_name: x86_64-apple-darwin
cross: false
strip: true
compress: true
cargo_flags: ""

- os: macos-latest
target: aarch64-apple-darwin
artifact_name: target/aarch64-apple-darwin/release/servers
release_name: aarch64-apple-darwin
cross: false
strip: true
compress: true
cargo_flags: ""

- os: ubuntu-latest
target: x86_64-unknown-freebsd
artifact_name: target/x86_64-unknown-freebsd/release/servers
release_name: x86_64-unknown-freebsd
cross: true
strip: false
compress: false
cargo_flags: ""

name: ${{ matrix.os }} for ${{ matrix.target }}
Expand All @@ -99,14 +87,6 @@ jobs:
args: --release --target=${{ matrix.target }} ${{ matrix.cargo_flags }}
use-cross: ${{ matrix.cross }}

- name: Compress binaries
uses: svenstaro/upx-action@v2
with:
file: ${{ matrix.artifact_name }}
args: --lzma
strip: ${{ matrix.strip }}
if: ${{ matrix.compress }}

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit 5d2afe3

@vercel
Copy link

@vercel vercel bot commented on 5d2afe3 Aug 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.