mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
add appimages to release (for testing)
This commit is contained in:
parent
88d52ea099
commit
fe03d40f05
2 changed files with 8 additions and 7 deletions
|
@ -49,9 +49,10 @@ jobs:
|
||||||
cp assembly/appimage/ton.png .
|
cp assembly/appimage/ton.png .
|
||||||
chmod +x create-appimages.sh
|
chmod +x create-appimages.sh
|
||||||
./create-appimages.sh
|
./create-appimages.sh
|
||||||
|
rm -rf artifacts
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@master
|
uses: actions/upload-artifact@master
|
||||||
with:
|
with:
|
||||||
name: ton-appimages-${{ matrix.os }}
|
name: ton-appimages-${{ matrix.os }}
|
||||||
path: appimages/artifacts
|
path: appimages/artifacts2
|
||||||
|
|
|
@ -7,13 +7,13 @@ fi
|
||||||
|
|
||||||
rm -rf appimages
|
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
|
wget -nc https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
|
||||||
chmod +x ./appimagetool-x86_64.AppImage
|
chmod +x ./appimagetool-x86_64.AppImage
|
||||||
|
|
||||||
cd appimages
|
cd appimages
|
||||||
for file in ../artifacts/*; do
|
for file in ../artifacts2/*; do
|
||||||
if [[ -f "$file" && "$file" != *.so ]]; then
|
if [[ -f "$file" && "$file" != *.so ]]; then
|
||||||
appName=$(basename "$file")
|
appName=$(basename "$file")
|
||||||
echo $appName
|
echo $appName
|
||||||
|
@ -28,11 +28,11 @@ for file in ../artifacts/*; do
|
||||||
chmod +x ./$appName.AppDir/usr/bin/$appName
|
chmod +x ./$appName.AppDir/usr/bin/$appName
|
||||||
# create AppImage
|
# create AppImage
|
||||||
./../appimagetool-x86_64.AppImage $appName.AppDir
|
./../appimagetool-x86_64.AppImage $appName.AppDir
|
||||||
mv $appName-x86_64.AppImage artifacts/$appName
|
mv $appName-x86_64.AppImage artifacts2/$appName
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
ls -larth artifacts
|
ls -larth artifacts2
|
||||||
cp -r ../artifacts/{smartcont,lib} artifacts/
|
cp -r ../artifacts2/{smartcont,lib} artifacts2/
|
||||||
pwd
|
pwd
|
||||||
ls -larth artifacts
|
ls -larth artifacts2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue