Skip to content

Commit 8ad5db5

Browse files
committed
GitHub Actions, fuck you and your Node.js crap.
1 parent e9da1fc commit 8ad5db5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/meshoptimizer.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ jobs:
106106
apt update
107107
apt install -y ninja-build cmake g++
108108
- name: Clone MeshOptimizer
109-
# checkout v4 uses Node 20 which doesn't work on Ubuntu 18.04
110-
uses: actions/checkout@v3.6.0
111-
with:
112-
repository: zeux/meshoptimizer
113-
ref: v${{ env.MESHOPTIMIZER_VERSION }}
114-
path: meshoptimizer
109+
# actions/checkout@v2 and any newer uses a Node version that doesn't work
110+
# on Ubuntu 18.04, v1 on the other hand clones to some completely insane
111+
# location. Let's just ditch that crap.
112+
run: |
113+
git clone https://github.com/zeux/meshoptimizer
114+
cd meshoptimizer && git checkout v${{ env.MESHOPTIMIZER_VERSION }}
115115
- name: Build & install
116116
run: |
117117
mkdir meshoptimizer-build && cd meshoptimizer-build

0 commit comments

Comments
 (0)