Skip to content

Commit

Permalink
Update CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianCzajkowski committed May 9, 2024
1 parent 13ce607 commit be7d4e8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,21 @@ jobs:
with:
python-version: "3.12"

- name: Install Hatch
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Build with Hatch
run: |
hatch build
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages_dir: dist
verbose: true

- name: Clean distribution directory
run: rm -rf dist/*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "ariadne-lambda"
version = "0.3.0"
version = "0.3.1"
description = 'This package extends the Ariadne library by adding a GraphQL HTTP handler designed for use in AWS Lambda environments.'
readme = "README.md"
requires-python = ">=3.8"
Expand Down

0 comments on commit be7d4e8

Please sign in to comment.