Skip to content

Commit

Permalink
build: add a package build to release (fujiapple852#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiapple852 committed May 18, 2023
1 parent 867f2f9 commit 77d41e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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
asset_content_type: application/octet-stream

0 comments on commit 77d41e5

Please sign in to comment.