From 63274382f1e65223d2e3d8e29e623f2a7a8c8f29 Mon Sep 17 00:00:00 2001 From: julienmalard Date: Fri, 8 Mar 2024 14:37:07 +0100 Subject: [PATCH] Publier avec GitHub --- .github/workflows/pypi.yml | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 597bfe1..c00bce0 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -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/action-setup@v2.4.0 - 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 }}