Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
E5presso committed Sep 5, 2024
2 parents d4d180a + ae1f4df commit ba5eae0
Show file tree
Hide file tree
Showing 5 changed files with 144 additions and 86 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Publish

on:
release:
types:
- created
push:
branches:
- main
jobs:
deploy:
publish:
runs-on: ubuntu-latest
environment: release
env:
OS: ubuntu-latest
PYTHON: "3.10"
POETRY: "1.7.1"
POETRY: "1.8.3"
PYPI_PROJECT: https://pypi.org/project/spakky-core/
steps:
- uses: actions/checkout@v3
- name: Setup Python
Expand All @@ -23,10 +25,12 @@ jobs:
poetry-version: ${{ env.POETRY }}
- name: Install Dependencies
run: poetry install
- name: Publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish --build
- name: Build package
run: poetry build
- name: Publish package distributions to PyPI
with:
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/[email protected]
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ on:
pull_request:
branches:
- "develop"
- "main"
push:
branches:
- "develop"
- "main"
jobs:
run:
test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -47,3 +45,4 @@ jobs:
flags: unittests
name: codecov-umbrella
verbose: true

Loading

0 comments on commit ba5eae0

Please sign in to comment.