Skip to content

Commit

Permalink
tritony==0.0.17 with CI-wheels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kimdwkimdw committed Jul 11, 2024
1 parent 838b393 commit 05e4e11
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
53 changes: 53 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -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/*
2 changes: 1 addition & 1 deletion tritony/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.16"
__version__ = "0.0.17"

0 comments on commit 05e4e11

Please sign in to comment.