-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
68 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
#anigamerplus latest python build | ||
|
||
name: aniGamerPlus Build Artifact | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: windows-2019 | ||
strategy: | ||
# You can use PyPy versions in python-version. | ||
# For example, pypy2 and pypy3 | ||
matrix: | ||
python: [3.8.x, 3.9.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
pip install pyinstaller | ||
- name: Build exe | ||
run: pyinstaller --noconfirm --distpath %cd%\ --onefile --console --icon %cd%\Dashboard\static\img\aniGamerPlus.ico --clean --add-data %cd%;aniGamerPlus/ %cd%\aniGamerPlus.py | ||
shell: cmd | ||
- name: Upload exe | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: aniGamerPlus_artifacts_${{ matrix.python }} | ||
path: | | ||
aniGamerPlus.exe | ||
Dashboard/ | ||
LICENSE | ||
README.md | ||
DanmuTemplate.ass | ||
sn_list-sample.txt | ||
config-sample.json | ||
#anigamerplus latest python build | ||
|
||
name: aniGamerPlus Build Artifact | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: windows-2019 | ||
strategy: | ||
# You can use PyPy versions in python-version. | ||
# For example, pypy2 and pypy3 | ||
matrix: | ||
python: [3.8.x, 3.9.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
pip install pyinstaller | ||
- name: Build exe | ||
run: pyinstaller --noconfirm --distpath %cd%\ --onefile --console --icon %cd%\Dashboard\static\img\aniGamerPlus.ico --clean --add-data %cd%;aniGamerPlus/ %cd%\aniGamerPlus.py | ||
shell: cmd | ||
- name: Upload exe | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: aniGamerPlus_artifacts_${{ matrix.python }} | ||
path: | | ||
aniGamerPlus.exe | ||
Dashboard/ | ||
LICENSE | ||
README.md | ||
DanmuTemplate.ass | ||
sn_list-sample.txt | ||
config-sample.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters