-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid publishing to pypi update README use tag based installation for pef
- Loading branch information
1 parent
d176c94
commit 18c3e4b
Showing
5 changed files
with
1,004 additions
and
862 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,27 +13,48 @@ on: | |
types: [published] | ||
|
||
permissions: | ||
contents: read | ||
id-token: write # This is required for requesting the JWT | ||
contents: read # This is required for actions/checkout | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
# steps: | ||
# - name: Repo Checkout | ||
# uses: actions/checkout@v4 | ||
|
||
# - name: Set up Python | ||
# uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: "3.12.x" | ||
|
||
# - name: Install and configure Poetry | ||
# uses: snok/[email protected] | ||
# with: | ||
# # version: 1.5.1 | ||
# # virtualenvs-create: true | ||
# virtualenvs-in-project: true | ||
# # virtualenvs-path: ~/poetry-venv | ||
# # installer-parallel: true | ||
|
||
# - name: Load cached venv | ||
# id: cached-poetry-dependencies | ||
# uses: actions/cache@v3 | ||
# with: | ||
# path: .venv | ||
# key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} | ||
|
||
# - name: Install dependencies | ||
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | ||
# run: | | ||
# python -m pip install --upgrade pip | ||
# poetry install --sync --no-interaction | ||
|
||
# - name: Build package | ||
# run: poetry build | ||
|
||
# - name: Publish package | ||
# uses: pypa/[email protected] | ||
# with: | ||
# packages-dir: ./dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.