File tree 2 files changed +51
-0
lines changed
2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name : Build
4
+
5
+ # Controls when the workflow will run
6
+ on :
7
+ # Triggers the workflow on push or pull request events but only for the sasquatch branch
8
+ push :
9
+ branches :
10
+ - master
11
+ pull_request :
12
+
13
+ # Allows you to run this workflow manually from the Actions tab
14
+ workflow_dispatch :
15
+
16
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17
+ jobs :
18
+ build_amd64 :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - name : Build Debian package (AMD64)
23
+
24
+ with :
25
+ os_distribution : bullseye
26
+ cpu_architecture : amd64
27
+ - name : Upload DEB artifacts
28
+ uses : actions/upload-artifact@v2
29
+ with :
30
+ path : ${{ github.workspace }}/*.deb
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*"
7
+
8
+ jobs :
9
+ build_amd64 :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - name : Build Debian package (AMD64)
14
+
15
+ with :
16
+ os_distribution : bullseye
17
+ cpu_architecture : amd64
18
+ - name : Release
19
+ uses : softprops/action-gh-release@v1
20
+ with :
21
+ files : ${{ github.workspace }}/*.deb
You can’t perform that action at this time.
0 commit comments