Refactor PLY to STL conversion workflow

Updated workflow to improve formatting and remove unnecessary lines.
This commit is contained in:
Alex38Lyon authored and GitHub committed 2026-10-14 15:50:06 +02:00
1 parent 166d7c0244
commit 03509360dd
1 file changed
-7
-7
View File
@@ -1,26 +1,21 @@
name: Convert PLY to STL name: Convert PLY to STL
on: on:
push: push:
paths: paths:
- '**/*.ply' - '**/*.ply'
workflow_dispatch: workflow_dispatch:
permissions: permissions:
contents: write contents: write
jobs: jobs:
convert: convert:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# ------------------------------------------------------------ # ------------------------------------------------------------
# Récupération du dépôt # Récupération du dépôt
# ------------------------------------------------------------ # ------------------------------------------------------------
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v6 uses: actions/checkout@v6
# ------------------------------------------------------------ # ------------------------------------------------------------
# Installation de Python # Installation de Python
# ------------------------------------------------------------ # ------------------------------------------------------------
@@ -28,7 +23,6 @@ jobs:
uses: actions/setup-python@v7 uses: actions/setup-python@v7
with: with:
python-version: '3.13' python-version: '3.13'
# ------------------------------------------------------------ # ------------------------------------------------------------
# Installation des bibliothèques # Installation des bibliothèques
# ------------------------------------------------------------ # ------------------------------------------------------------
@@ -36,7 +30,6 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install trimesh numpy fast-simplification pip install trimesh numpy fast-simplification
# ------------------------------------------------------------ # ------------------------------------------------------------
# Conversion PLY -> STL # Conversion PLY -> STL
# Recherche automatique du meilleur compromis qualité/taille # Recherche automatique du meilleur compromis qualité/taille