From 7495b17976d5517136eb09089555553b4241e016 Mon Sep 17 00:00:00 2001 From: GreatBahram Date: Mon, 3 Mar 2025 09:19:51 +0100 Subject: [PATCH] have a manual package builder --- .github/workflows/publish.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..6b79769 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,26 @@ +name: Publish Python Package + +on: + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install uv + uses: astral-sh/setup-uv@v5 + - name: "Set up Python" + uses: actions/setup-python@v5 + with: + python-version-file: ".python-version" + - name: Install the project + run: uv sync --all-extras --dev + - name: Build the package + run: uv build + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: dist + path: dist/ + retention-days: 5 \ No newline at end of file