Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
triwinds committed Aug 20, 2023
1 parent 54e1bde commit 8bd7143
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/manual-build-console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,26 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- uses: actions/setup-node@v3
with:
node-version: 18
- run: |
cd vue
npm install
npm run build
- name: Run yarn install
uses: borales/actions-yarn@v4
with:
dir: vue3
cmd: install
- name: Run yarn build
uses: borales/actions-yarn@v4
with:
dir: vue3
cmd: build
- run: |
python -m venv venv
venv\Scripts\activate.ps1
pip install -r requirements.txt
pyinstaller --noconfirm --onefile --console --icon "./web/favicon.ico" --add-data "./module/*.exe;./module/" --add-data "./web;web/" "./main.py" --additional-hooks-dir=".\\hooks" --name "NsEmuTools-console"
pip install poetry
poetry install
poetry run pyinstaller --noconfirm --onefile --console --icon "./web/favicon.ico" --add-data "./module/*.exe;./module/" --add-data "./web;web/" "./main.py" --additional-hooks-dir=".\\hooks" --name "NsEmuTools-console"
- uses: actions/upload-artifact@v3
with:
path: dist/*
Expand Down

0 comments on commit 8bd7143

Please sign in to comment.