Skip to content

Commit

Permalink
ci: create release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
niekdt committed Jul 2, 2024
1 parent 7f290a5 commit a30fa51
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- uses: actions/cache@v3
with:
path: ~/.cache/pypoetry
key: ${{ hashFiles('poetry.lock') }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
- name: Build package
run: poetry build

- name: Publish package
run: poetry publish --repository pypi --dry-run

0 comments on commit a30fa51

Please sign in to comment.