Skip to content

Commit

Permalink
Add upload workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaHuann committed Dec 26, 2024
1 parent 042de5d commit 900808a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-deb-package.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
name: Build Debian Package

on: push

jobs:
build-debs:
runs-on: ubuntu-latest
steps:
# 检出代码
- uses: actions/checkout@v4

# 构建 Debian 包
- uses: jtdor/build-deb-action@v1
env:
DEB_BUILD_OPTIONS: noautodbgsym
with:
buildpackage-opts: --build=binary --no-sign
buildpackage-opts: --build=binary --no-sign

# 上传构建的 Debian 包作为 Artifact
- uses: actions/upload-artifact@v4
with:
path: debian/artifacts/
name: debian_package

0 comments on commit 900808a

Please sign in to comment.