Skip to content

Commit

Permalink
Publier avec GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Mar 8, 2024
1 parent 902a8c7 commit 6327438
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,42 +31,14 @@ jobs:
with:
python-version: 3.11

- name: Préparation de Node.js
uses: actions/setup-node@v4
with:
node-version: 21

- name: Vérifier installation Node.js
run: npm -v

- name: Installer PNPM
uses: pnpm/[email protected]
with:
version: latest


- name: Setup PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: true

- name: Install dependencies
run: pdm install

#----------------------------------------------
# install dependencies if cache does not exist
#----------------------------------------------
- name: Installer dépendances
run: pdm install --no-interaction --no-root
#----------------------------------------------
# install your root project, if required
#----------------------------------------------
- name: Installer la librairie
run: pdm install --no-interaction

- name: Configurer mot de passe
run: pdm config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}"
run: pdm install

- name: Publier sur PyPI
if: ${{ !inputs.dry-run }}
Expand Down

0 comments on commit 6327438

Please sign in to comment.