Skip to content

Commit

Permalink
build: tweak py deploy (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
tshauck authored Oct 1, 2023
1 parent a837a5c commit 4ebdac5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
deploy:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ./exon-py

permissions:
id-token: write
Expand All @@ -26,15 +23,20 @@ jobs:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
working-directory: ./exon-py
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Build package
working-directory: ./exon-py
run: hatch build

- name: Test package
working-directory: ./exon-py
run: hatch run test

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./exon-py/dist
2 changes: 1 addition & 1 deletion exon-py/exon_py/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.0.1"
__version__ = "0.0.2"

0 comments on commit 4ebdac5

Please sign in to comment.