取消appimage,改用tar打包
This commit is contained in:
parent
c0963931b8
commit
87da04c9a1
13
.github/workflows/build-pr.yml
vendored
13
.github/workflows/build-pr.yml
vendored
@ -128,26 +128,19 @@ jobs:
|
||||
- name: Build pypvz with Nuitka
|
||||
run: |
|
||||
yes | python -m nuitka --standalone \
|
||||
--onefile \
|
||||
--show-progress \
|
||||
--show-memory \
|
||||
--output-dir=out \
|
||||
--linux-onefile-icon=pypvz.ico \
|
||||
--include-data-dir=resources=resources \
|
||||
-o ./out/pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.appimage \
|
||||
-o ./out/pypvz \
|
||||
main.py
|
||||
|
||||
# artifact压缩包处上传包含运行环境的文件夹
|
||||
- name: "Upload binaries"
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: artifact-linux-python-${{ matrix.python_version }}
|
||||
path: ./out/*.dist
|
||||
tar -cvpaf -C ./out out pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst
|
||||
|
||||
- name: Release the version built by nuitka
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
allowUpdates: true
|
||||
tag: Latest
|
||||
artifacts: ./out/*nuitka*.appimage
|
||||
artifacts: ./*.tar.zst
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -116,7 +116,7 @@ jobs:
|
||||
- name: 🧳 Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install patchelf gdb ccache libfuse2
|
||||
sudo apt-get install patchelf gdb ccache libfuse2 zstd tar
|
||||
python -m pip install --no-python-version-warning --disable-pip-version-check zstandard appdirs ordered-set tqdm Jinja2
|
||||
python -m pip install --no-python-version-warning --disable-pip-version-check nuitka
|
||||
python -m pip install --no-python-version-warning --disable-pip-version-check pygame
|
||||
@ -130,26 +130,19 @@ jobs:
|
||||
- name: Build pypvz with Nuitka
|
||||
run: |
|
||||
yes | python -m nuitka --standalone \
|
||||
--onefile \
|
||||
--show-progress \
|
||||
--show-memory \
|
||||
--output-dir=out \
|
||||
--linux-onefile-icon=pypvz.ico \
|
||||
--include-data-dir=resources=resources \
|
||||
-o ./out/pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.appimage \
|
||||
-o ./out/pypvz \
|
||||
main.py
|
||||
|
||||
# artifact压缩包处上传包含运行环境的文件夹
|
||||
- name: "Upload binaries"
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: artifact-linux-python-${{ matrix.python_version }}
|
||||
path: ./out/*.dist
|
||||
tar -cvpaf -C ./out out pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst
|
||||
|
||||
- name: Release the version built by nuitka
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
allowUpdates: true
|
||||
tag: Latest
|
||||
artifacts: ./out/*nuitka*.appimage
|
||||
artifacts: ./*.tar.zst
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user