Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishang committed Nov 7, 2022
1 parent 517da93 commit 583439b
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,30 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: tag name
run: echo $GITHUB_REF_NAME

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Config Poetry
run: |
python -m pip install --upgrade pip
pip install -U poetry
poetry install
- name: Build
run: |
poetry build
- name: publish
run: |
poetry publish -u ${{ secrets.USERNAME }} -p ${{ secrets.PASSWORD }}

0 comments on commit 583439b

Please sign in to comment.