Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/enhance-publishing' into share…
Browse files Browse the repository at this point in the history
…-magic-wormhole
  • Loading branch information
Mustaballer committed Aug 14, 2023
2 parents 75b324d + c77f339 commit 8b1299d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 20 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Semantic Release and PyPi Publish
name: Semantic Release and PyPI Publish

on:
push:
Expand All @@ -20,8 +20,6 @@ jobs:
uses: relekang/python-semantic-release@master
with:
github_token: ${{ secrets.ADMIN_TOKEN }} # Use the new token for authentication
repository_username: __token__
repository_password: ${{ secrets.PYPI_TOKEN }}
git_committer_name: "OpenAdapt Bot"
git_committer_email: "[email protected]"

Expand All @@ -34,12 +32,15 @@ jobs:
with:
ref: main
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Build and publish to PyPI
uses: JRubics/[email protected]
with:
python_version: "3.10"
poetry_version: "==1.5.1"
pypi_token: ${{ secrets.PYPI_TOKEN }}
- name: Publish to PyPI
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
pip install poetry
poetry install
poetry config pypi-token.pypi $PYPI_TOKEN
poetry build
poetry publish --no-interaction --skip-existing
1 change: 1 addition & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 1 addition & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,7 @@ name = "openadapt"
version = "0.8.0"
description = "GUI Process Automation with Transformers"
authors = [
'Mustafa Abdulrahman <[email protected]>',
'Richard Abrich <[email protected]>',
'Avid Eslami <[email protected]>',
'Andrew Gorton <[email protected]>',
'Krish Patel <[email protected]>',
'Dian Rong <[email protected]>',
'Aaron Shah <[email protected]>',
'Jesica Susanto <[email protected]>',
'Angela Zhuo <[email protected]>',
'Owais Zahid <[email protected]>'
'OpenAdapt.AI Team <[email protected]>',
]
classifiers = [
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 8b1299d

Please sign in to comment.