mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-05-19 14:39:54 +08:00
Update github action
This commit is contained in:
parent
5d819b3c8e
commit
10b2d8c72b
@ -39,7 +39,7 @@ jobs:
|
||||
wget $url
|
||||
mv *.deb debian/tmp/wine-runner.deb
|
||||
## 安装
|
||||
sudo chroot debian apt install locales /tmp/wine-runner.deb winehq-devel -y
|
||||
sudo chroot debian apt install locales /tmp/wine-runner.deb winehq-devel xfce4-terminal -y
|
||||
# 构建软件包
|
||||
sudo cp debian/opt package -rv
|
||||
sudo cp debian/usr/bin package -rv
|
||||
@ -55,10 +55,17 @@ jobs:
|
||||
tar -cvf ../spark-deepin-wine-runner-off-line.tar *
|
||||
cd ..
|
||||
xz -T $cpu spark-deepin-wine-runner-off-line.tar
|
||||
cp deep-wine-runner/off-line-shell/compression-packager.sh spark-deepin-wine-runner-off-line.sh
|
||||
cat spark-deepin-wine-runner-off-line.tar.xz >> spark-deepin-wine-runner-off-line.sh
|
||||
- name: upload result
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: spark-deepin-wine-runner-off-line.tar.xz
|
||||
path: /home/runner/spark-deepin-wine-runner-off-line.tar.xz
|
||||
-name: upload result
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: spark-deepin-wine-runner-off-line.sh
|
||||
path: /home/runner/spark-deepin-wine-runner-off-line.sh
|
||||
|
||||
|
@ -29,8 +29,9 @@ echo ©2020~`date +%Y` gfdgd xi
|
||||
echo
|
||||
echo Temp Path: $tempPath
|
||||
mkdir -pv $tempPath
|
||||
7z x -o$tempPath
|
||||
7z x "$1" -o$tempPath
|
||||
bash $tempPath/run.sh
|
||||
if [[ $1 != "--no-clean" ]]; then
|
||||
rm -rfv $tempPath
|
||||
fi
|
||||
fi
|
||||
exit
|
||||
|
Loading…
x
Reference in New Issue
Block a user