Skip to content

Commit

Permalink
Merge pull request #4 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 837754f + da07756 commit 4936329
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# 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:
Expand All @@ -21,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.0

- name: Set up Python
uses: actions/setup-python@v3
Expand All @@ -31,14 +23,9 @@ jobs:
- 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 }}
- name: Publish Package
run: poetry publish -u __token__ -p "$PYPI_TOKEN" --build
env:
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 4936329

Please sign in to comment.