Skip to content

Commit

Permalink
experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitiz-Mhto committed Mar 17, 2023
1 parent 758b7b4 commit 1088c60
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/build-n-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:

jobs:
build:
strategy:
matrix:
directory: ['./ecommerce-website-django','./epl-board']
# strategy:
# matrix:
# directory: ['./ecommerce-website-django','./epl-board']

runs-on: ubuntu-latest
steps:
Expand All @@ -19,27 +19,31 @@ jobs:
python-version: 3.8

- name: Install dependencies
working-directory: ./ecommerce-website-django
run: |
python -m pip install --upgrade pip
pip install build twine
pwd
ls
- name: Build package
working-directory: ${{ matrix.directory }}
working-directory: ./ecommerce-website-django
run: |
python -m build --outdir ../dist/
twine check --strict ../dist/*
pwd
ls
- name: Build package
working-directory: ./epl-board
run: |
python -m build --outdir ../dist/
twine check --strict ../dist/*
pwd
ls
- name: Publish package
# working-directory: ./ecommerce-website-django
uses: pypa/gh-action-pypi-publish@v1.8.1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
# packages: |
# ./epl-board/dist/epl_boardx-*
# ./ecommerce-website-django/dist/ecommerce_website_djangox-*
verbose: true
4 changes: 2 additions & 2 deletions ecommerce-website-django/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
long_description = f.read()

setup(
name='ecommerce_djangox',
version='1.0.0',
name='ecommerce_djangoxx',
version='1.0.2',
packages=find_packages(),
url='https://github.com/Kshitiz-Mhto/EPL-data-board',
license='https://www.apache.org/licenses/LICENSE-2.0',
Expand Down
4 changes: 2 additions & 2 deletions epl-board/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
long_description = f.read()

setup(
name='EPL-data-boardx',
version='0.0.1',
name='EPL-data-boardxx',
version='0.0.3',
packages=find_packages(),
url='https://github.com/Kshitiz-Mhto/EPL-data-board',
license='https://www.apache.org/licenses/LICENSE-2.0',
Expand Down

0 comments on commit 1088c60

Please sign in to comment.