From bbd9fcbc84c76926cdef1d1cdf662ec2c1094e14 Mon Sep 17 00:00:00 2001 From: houseme Date: Thu, 6 Mar 2025 11:23:56 +0800 Subject: [PATCH] add dx linux cmd --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5003418..3bfd5e12 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,9 +16,9 @@ jobs: strategy: matrix: variant: - # - { profile: dev, target: x86_64-unknown-linux-gnu, glibc: "default" } + - { profile: dev, target: x86_64-unknown-linux-gnu, glibc: "default" } - { profile: release, target: x86_64-unknown-linux-gnu, glibc: "default" } - # - { profile: release, target: x86_64-unknown-linux-gnu, glibc: "2.31" } + - { profile: release, target: x86_64-unknown-linux-gnu, glibc: "2.31" } steps: - uses: actions/checkout@v4 @@ -78,6 +78,7 @@ jobs: matrix: variant: - { profile: release, target: x86_64-unknown-linux-gnu } + # - { profile: release, target: x86_64-apple-darwin } # if: startsWith(github.ref, 'refs/tags/') steps: - uses: actions/checkout@v4 @@ -115,6 +116,8 @@ jobs: dx bundle --platform macos --package-types "macos" --package-types "dmg" --package-types "ios" --release --profile release --out-dir ../../${release_path} elif [[ "${{ matrix.variant.target }}" == *"windows-msvc"* ]]; then dx bundle --platform windows --package-types "msi" --release --profile release --out-dir ../../${release_path} + elif [[ "${{ matrix.variant.target }}" == *"unknown-linux-gnu"* ]]; then + dx bundle --platform linux --package-types "deb" --package-types "rpm" --package-types "appimage" --release --profile release --out-dir ../../${release_path} fi cd ../.. GUI_ARTIFACT_NAME="rustfs-gui-${{ matrix.variant.profile }}-${{ matrix.variant.target }}"