Skip to content

Commit 4a8dac5

Browse files
author
Christopher Liu
committed
Try run on arch again
1 parent 14f05bb commit 4a8dac5

File tree

1 file changed

+58
-47
lines changed

1 file changed

+58
-47
lines changed

.github/workflows/continuous.yml

Lines changed: 58 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -122,36 +122,42 @@ jobs:
122122
with:
123123
node-version: '12'
124124
architecture: 'arm64'
125-
126-
- run: |
127-
cd src
128-
npm i
129-
- run: |
130-
cd src
131-
git clone https://github.com/sugarlabs/musicblocks
132-
- run: |
133-
cd src
134-
sh ./patch.sh
135-
- run: |
136-
cd src
137-
npx electron-builder --arm64 --linux AppImage --publish never
138-
139-
- name: Patch AppImage aarch64
140-
run: |
141-
cd src
142-
mkdir -p dist/appimage
143-
cd dist/
144-
./*.AppImage --appimage-extract
145-
cp linux-arm64-unpacked/resources/app.asar squashfs-root/resources/.
146-
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-aarch64.AppImage
147-
chmod +x appimagetool-aarch64.AppImage
148-
rm Musicblocks*.AppImage
149-
./appimagetool-aarch64.AppImage squashfs-root -n
150-
ls
151-
rm -rf squashfs-root
152-
mv Musicblocks*.AppImage appimage/.
153-
chmod +x appimage/*.AppImage
154-
cd ..
125+
- uses: uraimo/[email protected]
126+
name: Run commands
127+
id: runcmd
128+
with:
129+
arch: aarch64
130+
distro: ubuntu18.04
131+
132+
run: |
133+
cd src
134+
npm i
135+
git clone https://github.com/sugarlabs/musicblocks
136+
sh ./patch.sh
137+
npx electron-builder --arm64 --linux AppImage --publish never
138+
139+
140+
- uses: uraimo/[email protected]
141+
name: Patch AppImage aaarch64
142+
with:
143+
arch: aarch64
144+
distro: ubuntu18.04
145+
146+
run: |
147+
cd src
148+
mkdir -p dist/appimage
149+
cd dist/
150+
./*.AppImage --appimage-extract
151+
cp linux-arm64-unpacked/resources/app.asar squashfs-root/resources/.
152+
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-aarch64.AppImage
153+
chmod +x appimagetool-aarch64.AppImage
154+
rm Musicblocks*.AppImage
155+
./appimagetool-aarch64.AppImage squashfs-root -n
156+
ls
157+
rm -rf squashfs-root
158+
mv Musicblocks*.AppImage appimage/.
159+
chmod +x appimage/*.AppImage
160+
cd ..
155161
156162
- name: Upload AppImage aarch64
157163
uses: actions/[email protected]
@@ -168,23 +174,28 @@ jobs:
168174
with:
169175
node-version: '12'
170176
architecture: 'armv7l'
171-
172-
- run: |
173-
cd src
174-
npm i
175-
- run: |
176-
cd src
177-
git clone https://github.com/sugarlabs/musicblocks
178-
- run: |
179-
cd src
180-
sh ./patch.sh
181-
- run: |
182-
cd src
183-
npx electron-builder --armv7l --linux AppImage --publish never
184-
185-
- name: Patch AppImage armv7
186-
run: |
187-
cd src
177+
- uses: uraimo/[email protected]
178+
name: Run commands
179+
id: runcmd
180+
with:
181+
arch: armv7
182+
distro: ubuntu18.04
183+
184+
run: |
185+
cd src
186+
npm i
187+
git clone https://github.com/sugarlabs/musicblocks
188+
sh ./patch.sh
189+
npx electron-builder --armv7l --linux AppImage --publish never
190+
191+
- uses: uraimo/[email protected]
192+
name: Patch AppImage armv7
193+
with:
194+
arch: aarch64
195+
distro: ubuntu18.04
196+
197+
run: |
198+
cd src
188199
mkdir -p dist/appimage
189200
cd dist/
190201
./*.AppImage --appimage-extract

0 commit comments

Comments
 (0)