Skip to content

Commit

Permalink
Fix github workflow scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
baskiton committed Feb 1, 2022
1 parent 30ccc8f commit cb9474d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ jobs:
- name: Build package
run:
python -m build

- name: Installing
run:
pip install dist/pysetns-*.tar.gz
6 changes: 5 additions & 1 deletion .github/workflows/pypi-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,20 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.6'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
run: python -m build -s

- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit cb9474d

Please sign in to comment.