mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-07 14:28:15 +03:00
Update package release workflow
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -116,19 +116,21 @@ jobs:
|
||||
echo "Unknown runner architecture: $RUNNER_ARCH"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "linuxdeploy architecture is $linuxdeploy_arch"
|
||||
mkdir .linuxdeploy-bin
|
||||
echo "$PWD/.linuxdeploy-bin" >> $GITHUB_PATH
|
||||
wget -P .linuxdeploy-bin https://github.com/linuxdeploy/linuxdeploy/releases/latest/download/linuxdeploy-$linuxdeploy_arch.AppImage
|
||||
wget -P .linuxdeploy-bin https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/latest/download/linuxdeploy-plugin-qt-$linuxdeploy_arch.AppImage
|
||||
wget -P .linuxdeploy-bin https://github.com/AppImage/appimagetool/releases/latest/download/appimagetool-$linuxdeploy_arch.AppImage
|
||||
chmod +x .linuxdeploy-bin/*
|
||||
|
||||
linuxdeploy_name=".linuxdeploy-bin"
|
||||
mkdir ${linuxdeploy_name}
|
||||
echo "${PWD}/${linuxdeploy_name}" >> $GITHUB_PATH
|
||||
wget -P ${linuxdeploy_name} https://github.com/linuxdeploy/linuxdeploy/releases/latest/download/linuxdeploy-${linuxdeploy_arch}.AppImage
|
||||
wget -P ${linuxdeploy_name} https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/latest/download/linuxdeploy-plugin-qt-${linuxdeploy_arch}.AppImage
|
||||
wget -P ${linuxdeploy_name} https://github.com/AppImage/appimagetool/releases/latest/download/appimagetool-${linuxdeploy_arch}.AppImage
|
||||
chmod +x ${linuxdeploy_name}/*
|
||||
if: runner.os == 'Linux'
|
||||
- name: Set up Python for Windows7
|
||||
uses: LorenEteval/setup-python-win7@v1
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
check-latest: true
|
||||
if: matrix.id == 'win7'
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
@@ -150,7 +152,7 @@ jobs:
|
||||
python -m pip install "numpy<2"
|
||||
python -m pip install PySide6-Essentials==6.5.3
|
||||
else
|
||||
python -m pip install PySide6-Essentials==$PYSIDE6_TARGET_VERSION
|
||||
python -m pip install PySide6-Essentials==${PYSIDE6_TARGET_VERSION}
|
||||
fi
|
||||
python -m pip install -r requirements.txt
|
||||
python -m pip install nuitka imageio requests
|
||||
@@ -173,7 +175,6 @@ jobs:
|
||||
export GOROOT="$PWD/${go_name}"
|
||||
export CGO_ENABLED=1
|
||||
export PATH="${GOROOT}/bin:$PATH"
|
||||
echo "WIN_VER_COMPATIBLE=windows" >> $GITHUB_ENV
|
||||
fi
|
||||
go version
|
||||
python -m pip install "Xray-core >= 1.8.8"
|
||||
@@ -189,7 +190,11 @@ jobs:
|
||||
go version
|
||||
python -m pip install "hysteria > 1.3.5"
|
||||
- name: Run deploy script
|
||||
run: python Deploy.py
|
||||
run: |
|
||||
if [[ "${{ matrix.id }}" == "win7" ]]; then
|
||||
export WIN_VER_COMPATIBLE="windows"
|
||||
fi
|
||||
python Deploy.py
|
||||
- name: Store the distribution packages
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user