Skip to content

Commit

Permalink
add appimages to release (for testing)
Browse files Browse the repository at this point in the history
  • Loading branch information
neodix42 committed Dec 25, 2024
1 parent 88d52ea commit fe03d40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-ton-linux-x86-64-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ jobs:
cp assembly/appimage/ton.png .
chmod +x create-appimages.sh
./create-appimages.sh
rm -rf artifacts
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
name: ton-appimages-${{ matrix.os }}
path: appimages/artifacts
path: appimages/artifacts2
12 changes: 6 additions & 6 deletions assembly/appimage/create-appimages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ fi

rm -rf appimages

mkdir -p appimages/artifacts
mkdir -p appimages/artifacts2

wget -nc https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x ./appimagetool-x86_64.AppImage

cd appimages
for file in ../artifacts/*; do
for file in ../artifacts2/*; do
if [[ -f "$file" && "$file" != *.so ]]; then
appName=$(basename "$file")
echo $appName
Expand All @@ -28,11 +28,11 @@ for file in ../artifacts/*; do
chmod +x ./$appName.AppDir/usr/bin/$appName
# create AppImage
./../appimagetool-x86_64.AppImage $appName.AppDir
mv $appName-x86_64.AppImage artifacts/$appName
mv $appName-x86_64.AppImage artifacts2/$appName
fi
done

ls -larth artifacts
cp -r ../artifacts/{smartcont,lib} artifacts/
ls -larth artifacts2
cp -r ../artifacts2/{smartcont,lib} artifacts2/
pwd
ls -larth artifacts
ls -larth artifacts2

0 comments on commit fe03d40

Please sign in to comment.