Skip to content

Commit

Permalink
Merge pull request #2 from encore-ecosystem/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
meshushkevich authored Oct 16, 2024
2 parents 8f26cca + c781a8f commit 837754f
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 35 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
release:
types: [published]

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.12'

- name: Install dependencies
run: |
pip install poetry
poetry shell
poetry install
- name: Build package
run: poetry build

- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
35 changes: 0 additions & 35 deletions .github/workflows/pypi.yml

This file was deleted.

4 changes: 4 additions & 0 deletions nodeflow/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from nodeflow.adapters import *
from nodeflow.converter import *
from nodeflow.manager import *
from nodeflow.node import *

0 comments on commit 837754f

Please sign in to comment.