From 00e82fa5cd1cd3f448570219e61242c71b13c60a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 5 Oct 2024 14:03:49 +0200 Subject: [PATCH] GitHub Actions, fuck you and your Node.js crap. --- .github/workflows/meshoptimizer.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/meshoptimizer.yml b/.github/workflows/meshoptimizer.yml index 0ca0573..3640918 100644 --- a/.github/workflows/meshoptimizer.yml +++ b/.github/workflows/meshoptimizer.yml @@ -104,14 +104,14 @@ jobs: # apt update is needed to fetch package lists run: | apt update - apt install -y ninja-build cmake g++ + apt install -y ninja-build cmake g++ git - name: Clone MeshOptimizer - # checkout v4 uses Node 20 which doesn't work on Ubuntu 18.04 - uses: actions/checkout@v3.6.0 - with: - repository: zeux/meshoptimizer - ref: v${{ env.MESHOPTIMIZER_VERSION }} - path: meshoptimizer + # actions/checkout@v2 and any newer uses a Node version that doesn't work + # on Ubuntu 18.04, v1 on the other hand clones to some completely insane + # location. Let's just ditch that crap. + run: | + git clone https://github.com/zeux/meshoptimizer + cd meshoptimizer && git checkout v${{ env.MESHOPTIMIZER_VERSION }} - name: Build & install run: | mkdir meshoptimizer-build && cd meshoptimizer-build