File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Create Release Tarballs
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : Checkout the code
13
+ uses : actions/checkout@v3
14
+
15
+ - name : Set up build tools
16
+ run : sudo apt-get install -y build-essential autoconf automake libtool zip
17
+
18
+ - name : Configure the project
19
+ run : ./configure
20
+
21
+ - name : Build the project
22
+ run : make
23
+
24
+ - name : Create .tar.gz source tarball
25
+ run : make dist
26
+
27
+ - name : Create .zip source tarball
28
+ run : make dist-zip
29
+
30
+ - name : List generated files
31
+ run : ls -lah
32
+
33
+ - name : Upload .tar.gz release asset
34
+ uses : actions/upload-release-asset@v1
35
+ with :
36
+ upload_url : ${{ github.event.release.upload_url }}
37
+ asset_path : ./clboss-*.tar.gz
38
+ asset_name : clboss-${{ github.event.release.tag_name }}.tar.gz
39
+ asset_content_type : application/gzip
40
+
41
+ - name : Upload .zip release asset
42
+ uses : actions/upload-release-asset@v1
43
+ with :
44
+ upload_url : ${{ github.event.release.upload_url }}
45
+ asset_path : ./clboss-*.zip
46
+ asset_name : clboss-${{ github.event.release.tag_name }}.zip
47
+ asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments