Skip to content

Commit b271aca

Browse files
committed
Build deb package in GitHub Action
1 parent f5f12a8 commit b271aca

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build-library-and-examples:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- name: Prepare
1616
run: |
1717
sudo apt-get update
@@ -49,6 +49,10 @@ jobs:
4949
cd build
5050
cmake ..
5151
make
52+
- name: Build Debian package
53+
run: |
54+
cd kubernetes/build
55+
cpack -G DEB
5256
- name: Build examples
5357
run: |
5458
cd examples/

.github/workflows/code-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
code-static-check:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
- name: Prepare
1515
run: |
1616
sudo apt-get update
@@ -22,7 +22,7 @@ jobs:
2222
code-style-check:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2626
- name: Prepare
2727
run: |
2828
sudo apt-get update

0 commit comments

Comments
 (0)