Skip to content

Commit

Permalink
ci(fix): update reusable build
Browse files Browse the repository at this point in the history
- update name
- remove working directory
- fix paths to artifacts for uploading
  • Loading branch information
maxim-v4s committed Jul 3, 2024
1 parent 0797574 commit 4f26f8d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/reusable-buld.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build python package with built frontend
name: Build python package
on:
workflow_call
jobs:
Expand All @@ -18,18 +18,16 @@ jobs:

- name: Install python deps
run: poetry install
working-directory: backend

- name: Build python package
run: poetry build
working-directory: backend

- uses: actions/upload-artifact@v4
id: upload-sdist
name: Upload sdist
with:
name: python-package-sdist
path: dist/qualibrate_app-*.tar.gz
path: dist/qualibrate_core-*.tar.gz
retention-days: 3
if-no-files-found: error

Expand All @@ -38,6 +36,6 @@ jobs:
name: Upload wheel
with:
name: python-package-wheel
path: dist/qualibrate_app-*.whl
path: dist/qualibrate_core-*.whl
retention-days: 3
if-no-files-found: error

0 comments on commit 4f26f8d

Please sign in to comment.