File tree Expand file tree Collapse file tree 4 files changed +19
-22
lines changed Expand file tree Collapse file tree 4 files changed +19
-22
lines changed Original file line number Diff line number Diff line change 50
50
- name : Build App
51
51
run : |
52
52
make build
53
+ - name : Package App
54
+ run : |
55
+ PLATFORM=osx make package
53
56
- name : Download Upload URL
54
57
uses : actions/download-artifact@v1
55
58
with :
67
70
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
68
71
with :
69
72
upload_url : ${{ steps.extract_upload_url.outputs.upload_url }}
70
- asset_path : dist/terraenv
71
- asset_name : terraenv_osx
73
+ asset_path : terraenv_osx.tar.gz
74
+ asset_name : terraenv_osx.tar.gz
72
75
asset_content_type : application/octet-stream
73
76
74
77
build_release_linux :
91
94
- name : Build App
92
95
run : |
93
96
make build
97
+ - name : Package App
98
+ run : |
99
+ make package
94
100
- name : Download Upload URL
95
101
uses : actions/download-artifact@v1
96
102
with :
@@ -108,6 +114,6 @@ jobs:
108
114
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
109
115
with :
110
116
upload_url : ${{ steps.extract_upload_url.outputs.upload_url }}
111
- asset_path : dist/terraenv
112
- asset_name : terraenv_linux
117
+ asset_path : terraenv_linux.tar.gz
118
+ asset_name : terraenv_linux.tar.gz
113
119
asset_content_type : application/octet-stream
Original file line number Diff line number Diff line change @@ -126,3 +126,7 @@ dmypy.json
126
126
127
127
.DS_Store
128
128
virtualenv /
129
+
130
+ # Package File
131
+ * .zip
132
+ * .tar.gz
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ PLATFORM? =linux
2
+
1
3
build :
2
- @PYTHONOPTIMIZE=1 pyinstaller terraenv.py --onefile --clean --osx-bundle-identifier com.aarat.os.terraenv --nowindowed
4
+ @PYTHONOPTIMIZE=1 pyinstaller terraenv.py --onefile --clean --osx-bundle-identifier com.aarat.os.terraenv --nowindowed
5
+ package :
6
+ tar -czvf ./terraenv_$(PLATFORM ) .tar.gz dist/terraenv
You can’t perform that action at this time.
0 commit comments