Skip to content

Commit

Permalink
feat: update python version
Browse files Browse the repository at this point in the history
  • Loading branch information
txperl committed Sep 9, 2024
1 parent c774a81 commit 6c9f1b9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- os: windows-2022
version: win_x86
pythonArch: 'x86'
- os: macos-14
version: mac_apple
pythonArch: 'x64'
- os: macos-12
version: mac_intel
pythonArch: 'x64'
Expand All @@ -61,8 +64,8 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.7'
architecture: ${{ matrix.pythonArch }}
python-version: '3.10'
# architecture: ${{ matrix.pythonArch }}

- name: Install Requirements
run: |
Expand Down Expand Up @@ -109,13 +112,14 @@ jobs:
run: |
mv ./win_x64.zip ./PixivBiu_${{ github.event.inputs.releaseTag }}_win_x64.zip
mv ./win_x86.zip ./PixivBiu_${{ github.event.inputs.releaseTag }}_win_x86.zip
mv ./mac_apple.zip ./PixivBiu_${{ github.event.inputs.releaseTag }}_mac_apple.zip
mv ./mac_intel.zip ./PixivBiu_${{ github.event.inputs.releaseTag }}_mac_intel.zip
mv ./ubuntu_x64.zip ./PixivBiu_${{ github.event.inputs.releaseTag }}_ubuntu_x64.zip
- name: Release and Done
uses: ncipollo/release-action@v1
with:
artifacts: "PixivBiu_${{ github.event.inputs.releaseTag }}_win_x64.zip, PixivBiu_${{ github.event.inputs.releaseTag }}_win_x86.zip, PixivBiu_${{ github.event.inputs.releaseTag }}_mac_intel.zip, PixivBiu_${{ github.event.inputs.releaseTag }}_ubuntu_x64.zip"
artifacts: "PixivBiu_${{ github.event.inputs.releaseTag }}_win_x64.zip, PixivBiu_${{ github.event.inputs.releaseTag }}_win_x86.zip, PixivBiu_${{ github.event.inputs.releaseTag }}_mac_apple.zip, PixivBiu_${{ github.event.inputs.releaseTag }}_mac_intel.zip, PixivBiu_${{ github.event.inputs.releaseTag }}_ubuntu_x64.zip"
tag: ${{ github.event.inputs.releaseTag }}
name: ${{ github.event.inputs.releaseName }}
body: ${{ github.event.inputs.releaseBody }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ PixivBiu,一款不错的 Pixiv **辅助**工具。

### 已编译程序

此项目基于 `Python@3.7(+)` 编写,使用 `PyInstaller` 构建编译版本。
此项目基于 `Python@3.10(+)` 编写,使用 `PyInstaller` 构建编译版本。

这里提供 Windows、macOS 和 Ubuntu 的编译版本,如有其他需求请自行编译。

Expand Down
2 changes: 1 addition & 1 deletion README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ PixivBiu, a nice Pixiv **assistant** tool.

### Executable Binary File

This project is written in `Python@3.7(+)` and is compiled using `PyInstaller`.
This project is written in `Python@3.10(+)` and is compiled using `PyInstaller`.

Compiled versions are provided for Windows, macOS, and Ubuntu. If you have other requirements, please compile it yourself.

Expand Down
2 changes: 1 addition & 1 deletion README_JA.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ PixivBiuはPixivのための**補助的な**ツールです。

### 実行バイナリから

このプロジェクトは Python 3.7 以上で開発されており、実行バイナリのビルドには `PyInstaller` を使用しています。
このプロジェクトは Python 3.10 以上で開発されており、実行バイナリのビルドには `PyInstaller` を使用しています。

Windows 版、macOS 版と Ubuntu 版が利用可能ですが、もし必要であれば自分でビルドを試してください。

Expand Down

0 comments on commit 6c9f1b9

Please sign in to comment.