Skip to content

Improve deb workflow and add README for install guidance #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use github cli
  • Loading branch information
shuaitian-git committed May 14, 2025
commit 30c21f1b888eb20e6c354d6e6f6f3af9a6d0c6a9
20 changes: 14 additions & 6 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
@@ -57,11 +57,19 @@ jobs:
if-no-files-found: error
compression-level: 0

- name: Upload to GitHub Release
- name: Install GitHub CLI
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
files: packaging/*.deb
uses: cli/cli-action@v2

- name: Upload to GitHub Release (excluding dbgsym packages)
if: startsWith(github.ref, 'refs/tags/v')
run: |
# Find all .deb files excluding ones with -dbgsym_ in the name
files=$(find packaging -type f -name "*.deb" ! -name "*-dbgsym_*.deb")
if [ -z "$files" ]; then
echo "No .deb packages (excluding dbgsym) found to upload."
exit 1
fi
gh release upload "${{ github.ref_name }}" $files --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading
Oops, something went wrong.