Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sakce committed Feb 2, 2024
1 parent b70a7e8 commit c94257a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 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]
push:

permissions:
contents: read
id-token: write

jobs:
publish-test-pypi:
runs-on: ubuntu-latest
environment: test
steps:
- name: PyPI Poetry Publish
uses: code-specialist/pypi-poetry-publish@v1.2
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_REGISTRY: "https://test.pypi.org/simple/"
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
2 changes: 2 additions & 0 deletions datadict/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from .datadict_class import datadict
from .datadict_main import cli
from .datadict_yaml import *

__version__ = "0.2.1"

0 comments on commit c94257a

Please sign in to comment.