@@ -101,12 +101,16 @@ jobs:
101101 tar xfz $fname
102102 rm $fname
103103 done
104+ rm -rf solvers.txt .gitignore .git .github */.gitignore
104105 - name : Show files, build archives
105106 run : |
107+ GCOM="^\.\\|^doc/\\|^examples/"
108+ find . -type d | sed 's@^\./\(.*\)@\1/@' | grep -v $GCOM | sort -f >MANIFEST
109+ find . \! -type d | sed 's@^\./@@' | grep -v $GCOM | sort -f >>MANIFEST
106110 cd ..
107111 mv CVX cvx
108- zip -r cvx.zip cvx -x 'cvx/.git/*' -x 'cvx/.github/*'
109- tar cfz cvx.tgz --exclude "cvx/.git" --exclude "cvx/.github" cvx
112+ zip -r cvx.zip cvx
113+ tar cfz cvx.tgz cvx
110114 echo "--------"
111115 tar tfz cvx.tgz
112116 echo "--------"
@@ -134,7 +138,10 @@ jobs:
134138 with :
135139 name : bundles
136140 - name : Unpack artifact
137- run : tar xfz cvx.tgz --strip-components=1
141+ shell : bash
142+ run : |
143+ tar xfz cvx.tgz --strip-components=1
144+ rm cvx.tgz cvx.zip
138145 - name : Install latest MATLAB
139146 uses : matlab-actions/setup-matlab@v2
140147 - name : Run test
@@ -154,7 +161,10 @@ jobs:
154161 with :
155162 name : bundles
156163 - name : Unpack artifact
157- run : tar xfz cvx.tgz --strip-components=1
164+ shell : bash
165+ run : |
166+ tar xfz cvx.tgz --strip-components=1
167+ rm cvx.tgz cvx.zip
158168 - name : Install Octave, Snap, Flatpak
159169 shell : bash
160170 run : |
@@ -184,7 +194,9 @@ jobs:
184194 with :
185195 name : bundles
186196 - name : Unpack artifact
187- run : tar xfz cvx.tgz --strip-components=1
197+ run : |
198+ tar xfz cvx.tgz --strip-components=1
199+ rm cvx.tgz cvx.zip
188200 - name : Install Flatpak octave
189201 run : |
190202 sudo apt update
@@ -204,7 +216,9 @@ jobs:
204216 with :
205217 name : bundles
206218 - name : Unpack artifact
207- run : tar xfz cvx.tgz --strip-components=1
219+ run : |
220+ tar xfz cvx.tgz --strip-components=1
221+ rm cvx.tgz cvx.zip
208222 - name : Install Flatpak octave
209223 run : |
210224 sudo snap install octave
0 commit comments