@@ -121,44 +121,25 @@ jobs:
121121 - uses : actions/setup-node@v1
122122 with :
123123 node-version : 12
124- 125- name : Run commands
126- id : runcmd
127- with :
128- arch : aarch64
129- distro : ubuntu18.04
130-
131- run : |
132- cd src
133- npm i
134- git clone https://github.com/sugarlabs/musicblocks
135- sh ./patch.sh
136- npx electron-builder --arm64 --linux AppImage --publish never
124+
125+ - run : |
126+ cd src
127+ npm i
128+ git clone https://github.com/sugarlabs/musicblocks
129+ sh ./patch.sh
130+ npx electron-builder --arm64 --linux AppImage --publish never
137131
138132
139- 140- name : Patch AppImage aaarch64
141- with :
142- arch : aarch64
143- distro : ubuntu18.04
144-
145- run : |
146- cd src
147- mkdir -p dist/appimage
148- cd dist/
149- ./*.AppImage --appimage-extract
150- cp linux-arm64-unpacked/resources/app.asar squashfs-root/resources/.
151- wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-aarch64.AppImage
152- chmod +x appimagetool-aarch64.AppImage
153- rm Musicblocks*.AppImage
154- ./appimagetool-aarch64.AppImage squashfs-root -n
155- ls
156- rm -rf squashfs-root
157- mv Musicblocks*.AppImage appimage/.
158- chmod +x appimage/*.AppImage
159- cd ..
160-
161- - name : Upload Appimage aarch64
133+ - name : Patch AppImage aarch64
134+ run : |
135+ cd src
136+ mkdir -p dist/appimage
137+ cd dist/
138+ mv Musicblocks*.AppImage appimage/.
139+ chmod +x appimage/*.AppImage
140+ cd ..
141+
142+ - name : Upload AppImage aarch64
162143163144 with :
164145 name : Musicblocks-continuous-aarch64.AppImage
@@ -172,43 +153,24 @@ jobs:
172153 - uses : actions/setup-node@v1
173154 with :
174155 node-version : 12
175- 176- name : Run commands
177- id : runcmd
178- with :
179- arch : armv7
180- distro : ubuntu18.04
181-
182- run : |
183- cd src
184- npm i
185- git clone https://github.com/sugarlabs/musicblocks
186- sh ./patch.sh
187- npx electron-builder --armv7l --linux AppImage --publish never
188-
189- 190- name : Patch AppImage armv7
191- with :
192- arch : aarch64
193- distro : ubuntu18.04
194-
195- run : |
196- cd src
197- mkdir -p dist/appimage
198- cd dist/
199- ./*.AppImage --appimage-extract
200- cp linux-armv7l-unpacked/resources/app.asar squashfs-root/resources/.
201- wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-armhf.AppImage
202- chmod +x appimagetool-armhf.AppImage
203- rm Musicblocks*.AppImage
204- ./appimagetool-armhf.AppImage squashfs-root -n
205- ls
206- rm -rf squashfs-root
207- mv Musicblocks*.AppImage appimage/.
208- chmod +x appimage/*.AppImage
209- cd ..
210-
211- - name : Upload Appimage armv7
156+
157+ - run : |
158+ cd src
159+ npm i
160+ git clone https://github.com/sugarlabs/musicblocks
161+ sh ./patch.sh
162+ npx electron-builder --arm64 --linux AppImage --publish never
163+
164+ - name : Patch AppImage armv7
165+ run : |
166+ cd src
167+ mkdir -p dist/appimage
168+ cd dist/
169+ mv Musicblocks*.AppImage appimage/.
170+ chmod +x appimage/*.AppImage
171+ cd ..
172+
173+ - name : Upload AppImage armv7
212174213175 with :
214176 name : Musicblocks-continuous-arm.AppImage
0 commit comments