From 77d41e5dd5ff2395eb4bb7f0fdc553efef47c96c Mon Sep 17 00:00:00 2001 From: FujiApple Date: Thu, 18 May 2023 19:46:54 +0800 Subject: [PATCH] build: add a package build to release (#568) --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eeef9d98..9a744681 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -126,7 +126,7 @@ jobs: - name: Create Debian package shell: bash - if: startsWith(matrix.build, 'linux-gnu') + if: startsWith(matrix.build, 'linux-gnu') || startsWith(matrix.build, 'linux-musl') run: | cargo install cargo-deb cargo deb --target ${{ matrix.target }} --deb-version ${{ needs.create-release.outputs.trip_version }} @@ -140,7 +140,7 @@ jobs: echo "DPKG_ARCH=${DPKG_ARCH}" >> $GITHUB_ENV - name: Upload Deb Release Asset - if: startsWith(matrix.build, 'linux-gnu') + if: startsWith(matrix.build, 'linux-gnu') || startsWith(matrix.build, 'linux-musl') uses: actions/upload-release-asset@v1.0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -158,4 +158,4 @@ jobs: upload_url: ${{ needs.create-release.outputs.upload_url }} asset_path: ${{ env.ASSET }} asset_name: ${{ env.ASSET }} - asset_content_type: application/octet-stream \ No newline at end of file + asset_content_type: application/octet-stream