Fix download URL di appimagetool in release.yaml
Build and Release Barcode Reader Server (Multi-Platform) / build-linux (push) Successful in 1m3s
Build and Release Barcode Reader Server (Multi-Platform) / build-windows (push) Successful in 2m49s
Build and Release Barcode Reader Server (Multi-Platform) / build-macos (push) Successful in 56s
Build and Release Barcode Reader Server (Multi-Platform) / build-linux (push) Successful in 1m3s
Build and Release Barcode Reader Server (Multi-Platform) / build-windows (push) Successful in 2m49s
Build and Release Barcode Reader Server (Multi-Platform) / build-macos (push) Successful in 56s
This commit is contained in:
1 parent
8aa5694d9f
commit
6c7376cc1b
1 file changed
+5
-4
@@ -91,14 +91,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Scarica appimagetool se non presente
|
- name: Scarica appimagetool se non presente
|
||||||
run: |
|
run: |
|
||||||
if [ ! -f ./appimagetool-x86_64.AppImage ]; then
|
if [ ! -x /tmp/appimagetool-x86_64.AppImage ] || ! head -c 4 /tmp/appimagetool-x86_64.AppImage | grep -q "ELF"; then
|
||||||
curl -L -o appimagetool-x86_64.AppImage https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage
|
rm -f /tmp/appimagetool-x86_64.AppImage
|
||||||
chmod +x appimagetool-x86_64.AppImage
|
curl -fSL -o /tmp/appimagetool-x86_64.AppImage https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
|
||||||
|
chmod +x /tmp/appimagetool-x86_64.AppImage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Genera AppImage
|
- name: Genera AppImage
|
||||||
run: |
|
run: |
|
||||||
ARCH=x86_64 APPIMAGE_EXTRACT_AND_RUN=1 ./appimagetool-x86_64.AppImage server/dist/BarcodeServer.AppDir BarcodeServer-x86_64.AppImage
|
ARCH=x86_64 APPIMAGE_EXTRACT_AND_RUN=1 /tmp/appimagetool-x86_64.AppImage server/dist/BarcodeServer.AppDir BarcodeServer-x86_64.AppImage
|
||||||
chmod +x BarcodeServer-x86_64.AppImage
|
chmod +x BarcodeServer-x86_64.AppImage
|
||||||
APPIMAGE_EXTRACT_AND_RUN=1 ./BarcodeServer-x86_64.AppImage --version
|
APPIMAGE_EXTRACT_AND_RUN=1 ./BarcodeServer-x86_64.AppImage --version
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user