@@ -43,18 +43,14 @@ jobs:
43
43
run : make -C _build -j4
44
44
- name : install files
45
45
run : make -C _build install
46
+ - name : zip
47
+ run : zip -r linux_treesheets_${{ matrix.cxx }}.zip TreeSheets-relocatable
46
48
- name : upload build artifacts
47
49
if : github.ref == 'refs/heads/master'
48
50
uses : actions/upload-artifact@v1
49
51
with :
50
52
name : Linux TreeSheets ${{ matrix.cxx }}
51
- path : TreeSheets-relocatable
52
- - name : zip
53
- if : github.ref == 'refs/heads/master'
54
- uses : vimtor/action-zip@v1
55
- with :
56
- files : TreeSheets-relocatable/
57
- dest : linux_treesheets_${{ matrix.cxx }}.zip
53
+ path : linux_treesheets_${{ matrix.cxx }}.zip
58
54
- name : Create release
59
55
if : github.ref == 'refs/heads/master'
60
56
uses : ncipollo/release-action@v1
@@ -141,18 +137,13 @@ jobs:
141
137
xcodebuild -toolchain clang -configuration Release -target TreeSheets -scheme TreeSheets -derivedDataPath build
142
138
chmod +x build/Build/Products/Release/TreeSheets.app/Contents/MacOS/TreeSheets
143
139
rm -rf build/Build/Products/Release/TreeSheets.app.dSYM
140
+ zip -r mac_treesheets.zip osx/TreeSheets/build/Build/Products/Release
144
141
- name : upload build artifacts
145
142
if : github.ref == 'refs/heads/master'
146
143
uses : actions/upload-artifact@v2
147
144
with :
148
145
name : Mac TreeSheets
149
- path : osx/TreeSheets/build/Build/Products/Release
150
- - name : zip
151
- if : github.ref == 'refs/heads/master'
152
- uses : vimtor/action-zip@v1
153
- with :
154
- files : osx/TreeSheets/build/Build/Products/Release/
155
- dest : mac_treesheets.zip
146
+ path : mac_treesheets.zip
156
147
- name : Create release
157
148
if : github.ref == 'refs/heads/master'
158
149
uses : ncipollo/release-action@v1
0 commit comments