@@ -114,7 +114,7 @@ jobs:
114114 path : ' src/dist/snap/'
115115
116116
117- linux_arm64 :
117+ linux_aarch64 :
118118 runs-on : ubuntu-18.04
119119 steps :
120120 - uses : actions/checkout@v2
@@ -125,40 +125,40 @@ jobs:
125125 name : Run commands
126126 id : runcmd
127127 with :
128- arch : arm64
128+ arch : aarch64
129129 distro : ubuntu18.04
130130
131- - run : |
132- cd src
133- npm i
134- - run : |
135- cd src
136- git clone https://github.com/sugarlabs/musicblocks
137- - run : |
138- cd src
139- sh ./patch.sh
140- - run : |
141- cd src
142- npx electron-builder --arm64 --linux AppImage --publish never
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
137+
143138
144- - name : Patch AppImage arm64
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 ..
139+ 140+ name : Patch AppImage aaarch64
141+ with :
142+ arch : aarch64
143+ distro : ubuntu18.04
160144
161- - name : Upload Appimage arm64
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
162162163163 with :
164164 name : Musicblocks-continuous-aarch64.AppImage
@@ -179,35 +179,34 @@ jobs:
179179 arch : armv7
180180 distro : ubuntu18.04
181181
182- - run : |
183- cd src
184- npm i
185- - run : |
186- cd src
187- git clone https://github.com/sugarlabs/musicblocks
188- - run : |
189- cd src
190- sh ./patch.sh
191- - run : |
192- cd src
193- npx electron-builder --armv7l --linux AppImage --publish never
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
194188
195- - name : Patch AppImage armv7
196- run : |
197- cd src
198- mkdir -p dist/appimage
199- cd dist/
200- ./*.AppImage --appimage-extract
201- cp linux-armv7l-unpacked/resources/app.asar squashfs-root/resources/.
202- wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-armhf.AppImage
203- chmod +x appimagetool-armhf.AppImage
204- rm Musicblocks*.AppImage
205- ./appimagetool-armhf.AppImage squashfs-root -n
206- ls
207- rm -rf squashfs-root
208- mv Musicblocks*.AppImage appimage/.
209- chmod +x appimage/*.AppImage
210- cd ..
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 ..
211210
212211 - name : Upload Appimage armv7
213212
0 commit comments