-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
902a8c7
commit 6327438
Showing
1 changed file
with
1 addition
and
29 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 |
---|---|---|
|
@@ -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 }} | ||
|