From e3a023f9d500d1179d35eb4f30331463162f6229 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 7 Aug 2024 08:18:31 +0200 Subject: [PATCH] GitHub Actions: add workflow definition to produce release artifacts --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c0a830d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,24 @@ +name: Create Release Artifacts + +on: + - workflow_dispatch + +jobs: + wheels: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - name: checkout code + uses: actions/checkout@v4 + + - name: create Python wheel and sdist + run: | + python setup.py sdist bdist_wheel + + - name: upload release artifacts + uses: actions/upload-artifact@v4 + with: + name: "release-artifacts" + path: dist/* + if-no-files-found: error