Skip to content

Commit

Permalink
Add checkout to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EUdds committed Dec 13, 2023
1 parent ec8ffbd commit 6f5926e
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/python-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Publish python poetry package
# You may pin to the exact commit or the version.
# uses: JRubics/poetry-publish@b71e946be561eaf8bfb7562ecc97c26fb8583070
uses: JRubics/poetry-publish@v1.17
with:
# The version of python to install
# python_version: 3.8 # optional, default is latest
# The version of poetry to install
# poetry_version: 1.7.0 # optional, default is latest
# API token to authenticate when uploading package to PyPI (https://pypi.org/manage/account/) or TestPyPI (https://test.pypi.org/manage/account/)
pypi_token: ${{ secrets.PYPI_KEY }} # optional
# Name of a repository where the package will be uploaded
repository_name: inventree_digikey_integration # optional
- uses: actions/checkout@v4
- name: Build and publish to PyPI
uses: JRubics/poetry-publish@v1.17
with:
pypi_token: ${{ secrets.PYPI_KEY }} # optional

0 comments on commit 6f5926e

Please sign in to comment.