From 05e4e11ef9fcdaa666f1fddb130069ba9bba27fc Mon Sep 17 00:00:00 2001 From: Dongwoo Arthur Kim Date: Thu, 11 Jul 2024 17:19:33 +0900 Subject: [PATCH] tritony==0.0.17 with CI-wheels.yml --- .github/workflows/wheels.yml | 53 ++++++++++++++++++++++++++++++++++++ tritony/version.py | 2 +- 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/wheels.yml diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml new file mode 100644 index 0000000..b6b5af3 --- /dev/null +++ b/.github/workflows/wheels.yml @@ -0,0 +1,53 @@ +name: Build + +on: + push: + tags: + - v* + +jobs: + build_dist: + name: Build source distribution + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Build dist and wheel + run: pipx run build --sdist --wheel + + - uses: actions/upload-artifact@v4 + with: + name: cibw-dist + path: dist/* + + upload_pypi: + needs: [build_dist] + runs-on: ubuntu-latest + environment: release + permissions: + id-token: write + steps: + - uses: actions/download-artifact@v4 + with: + pattern: cibw-* + path: dist + merge-multiple: true + + - uses: pypa/gh-action-pypi-publish@release/v1 + # with: + # repository-url: https://test.pypi.org/legacy/ + + upload_release: + needs: [build_dist] + runs-on: ubuntu-latest + steps: + - uses: actions/download-artifact@v4 + with: + pattern: cibw-* + path: dist + merge-multiple: true + + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: dist/* \ No newline at end of file diff --git a/tritony/version.py b/tritony/version.py index d62d967..1f658a4 100644 --- a/tritony/version.py +++ b/tritony/version.py @@ -1 +1 @@ -__version__ = "0.0.16" +__version__ = "0.0.17"