Skip to content

Commit

Permalink
remove build action
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Kanz committed Jan 16, 2022
1 parent ec36836 commit 3d0ad20
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
# # This workflows will upload a Python Package using Twine when a release is created
# # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Build and publish 🐍 package to PyPI
# name: Build and publish 🐍 package to PyPI

on:
push:
tags:
- "v*"
# on:
# push:
# tags:
# - "v*"

jobs:
deploy:
runs-on: ubuntu-latest
# jobs:
# deploy:
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up latest Python Version
uses: actions/setup-python@v1
with:
python-version: "3.9.*"
- name: Install Poetry and dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry config virtualenvs.in-project true
poetry install -v
- name: Build and publish 📦 to PyPI
env:
PUBLISH_TOKEN: ${{ secrets.POETRY_PUBLISH_TOKEN }}
run: |
source .venv/bin/activate
poetry config pypi-token.pypi $PUBLISH_TOKEN
poetry publish --build
# steps:
# - uses: actions/checkout@v2
# - name: Set up latest Python Version
# uses: actions/setup-python@v1
# with:
# python-version: "3.9.*"
# - name: Install Poetry and dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install poetry
# poetry config virtualenvs.in-project true
# poetry install -v
# - name: Build and publish 📦 to PyPI
# env:
# PUBLISH_TOKEN: ${{ secrets.POETRY_PUBLISH_TOKEN }}
# run: |
# source .venv/bin/activate
# poetry config pypi-token.pypi $PUBLISH_TOKEN
# poetry publish --build

0 comments on commit 3d0ad20

Please sign in to comment.