Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ziqinyeow committed May 4, 2024
1 parent c040c7a commit 0615a64
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 12 deletions.
33 changes: 23 additions & 10 deletions .github/workflows/exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install uninstall juxtapose ultralytics yapf
pip uninstall juxtapose ultralytics yapf
pip install pyinstaller fastapi uvicorn[standard] python-multipart juxtematics
- name: Build Windows exe
Expand All @@ -58,22 +57,36 @@ jobs:
run: |
pyinstaller -c -F --clean --name sidecar-aarch64-apple-darwin --specpath dist --distpath dist examples/fastapi-pyinstaller/server.py
- name: CI Upload Windows
- name: Upload Windows EXE
uses: softprops/action-gh-release@v2
if: ${{ matrix.platform == 'windows-latest' }}
uses: actions/upload-artifact@v4
with:
name: "Windows Installers"
path: |
files: |
dist/sidecar-x86_64-pc-windows-msvc.exe
- name: CI Upload macOS
- name: Upload Windows EXE
uses: softprops/action-gh-release@v2
if: ${{ matrix.platform == 'macos-latest' }}
uses: actions/upload-artifact@v4
with:
name: "macOS Installer"
path: |
files: |
dist/sidecar-aarch64-apple-darwin
# - name: CI Upload Windows
# if: ${{ matrix.platform == 'windows-latest' }}
# uses: actions/upload-artifact@v4
# with:
# name: "Windows Installers"
# path: |
# dist/sidecar-x86_64-pc-windows-msvc.exe

# - name: CI Upload macOS
# if: ${{ matrix.platform == 'macos-latest' }}
# uses: actions/upload-artifact@v4
# with:
# name: "macOS Installer"
# path: |
# dist/sidecar-aarch64-apple-darwin

# - name: CI Upload Linux
# if: ${{ github.ref_type == 'branch' && matrix.platform == 'ubuntu-latest' }}
# uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "juxtapose"
version = "0.0.27"
version = "0.0.28"
description = ""
authors = ["Zi Qin <ziqinyeow@gmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/juxtapose/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.0.27"
__version__ = "0.0.28"

from .rtm import RTM
from .detectors import RTMDet, YOLOv8
Expand Down

0 comments on commit 0615a64

Please sign in to comment.