From 2ca507db3c04a7a547f8b73d27c9ded3036977cf Mon Sep 17 00:00:00 2001 From: glados Date: Tue, 14 Jan 2025 09:22:55 +0100 Subject: [PATCH] Update --- .github/workflows/publish.yml | 12 ++++++++++-- .github/workflows/test_package.yml | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 307d459..2aa0d80 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,10 +1,11 @@ name: Publish Package -on: workflow_dispatch #[push, pull_request] +on: [push, pull_request] jobs: - build-and-publish: + release-build: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 with: @@ -29,3 +30,10 @@ jobs: run: | poetry build ls -la dist/ + + - name: Upload distributions + uses: actions/upload-artifact@v4 + with: + name: release-dists + path: dist/ + retention-days: 1 diff --git a/.github/workflows/test_package.yml b/.github/workflows/test_package.yml index a4a5591..0bb087d 100644 --- a/.github/workflows/test_package.yml +++ b/.github/workflows/test_package.yml @@ -1,6 +1,6 @@ name: Test Package Installation -on: [push, pull_request] +on: workflow_dispatch #[push, pull_request] jobs: build: