Skip to content

Commit

Permalink
ci: Switch publish workflow to devbox
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Aug 4, 2023
1 parent b1156f6 commit 1e1e868
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install Poetry
run: pipx install poetry

- uses: actions/setup-python@v4
- name: Install devbox
uses: jetpack-io/[email protected]
with:
python-version: "3.10"
cache: poetry

- name: Set up Python environment
run: |
poetry env use 3.10
poetry install
enable-cache: true

- name: Build package
run: poetry build
run: devbox run poetry build

- name: Publish package
uses: pypa/[email protected]
Expand Down

0 comments on commit 1e1e868

Please sign in to comment.