Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luyanci committed Jun 7, 2024
1 parent 03371c7 commit fb6def1
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows,macos,ubuntu]
runs-on: ${{matrix.os}}-latest
os: [macos-latest,ubuntu-latest,windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Setup Python
Expand All @@ -26,9 +26,27 @@ jobs:
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build
run: pyinstaller -F -w --hidden-import=PIL._tkinter_finder --additional-hooks-dir=hooks main.py -n vcbot-bili -i=.res/icon.ico
run: pyinstaller -F -w --hidden-import=PIL._tkinter_finder --additional-hooks-dir=hooks main.py -n vcbot-bili -i .res/icon.ico
- name: Upload
uses: actions/upload-artifact@v4
with:
name: build-${{matrix.os}}
path: ./dist/*
build-windows:
if: false
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build
run: pyinstaller -F -w --hidden-import=PIL._tkinter_finder --additional-hooks-dir=hooks main.py -n vcbot-bili -i .res\icon.ico
- name: Upload
uses: actions/upload-artifact@v4
with:
name: build-${{runner.os}}
path: ./dist/*

0 comments on commit fb6def1

Please sign in to comment.