Skip to content

Commit

Permalink
update workflow and Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
nolze committed Jan 30, 2025
1 parent 70d1ce5 commit fa33d2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ jobs:
# For Python >= 3.11, the official macOS universal2 Python binaries are simply downloaded from python.org and...
python-version: ["3.12"]
poetry-version: ["2.0.1"]
runs-on: macos-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -29,6 +32,8 @@ jobs:
run: poetry install
- name: Set version
run: echo "APP_VERSION=$(poetry version --short)" >> $GITHUB_ENV
- name: Install JS deps
run: pnpm install
- name: Build
run: make build
- name: Package app
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
--add-data 'tiny_wifi_analyzer/view:view'

build:
pnpm run build
poetry run pyinstaller 'Tiny Wi-Fi Analyzer.spec' \
--distpath build/dist \
--noconfirm \
Expand Down

0 comments on commit fa33d2c

Please sign in to comment.