Skip to content

Commit

Permalink
ci(actions): use environment variables instead of flags
Browse files Browse the repository at this point in the history
I am such a retard wtf  🪿
  • Loading branch information
arunanshub committed Apr 19, 2024
1 parent a812c73 commit 288bb01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 40 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,9 @@ jobs:
cache: true
python-version: ">=3.9"

- name: Install build dependencies
run: pdm install -G dev

- name: Publish Package
run: |
pdm run python -m build
pdm publish -u __token__ -p "$PYPI_PASSWORD" --no-build
pdm publish
env:
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
PDM_PUBLISH_USERNAME: __token__
PDM_PUBLISH_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
34 changes: 1 addition & 33 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ dev = [
"commitizen>=3.13.0",
"mypy>=1.8.0",
"ruff>=0.3.7",
"build>=1.2.1",
]
docs = ["furo>=2022.2.14", "sphinx>=7.1.2", "sphinx-copybutton>=0.5.2"]
test = [
Expand Down

0 comments on commit 288bb01

Please sign in to comment.