Anther attempt at xmake CI.
diff --git a/.github/workflows/test-new-xmake-nightly.yml b/.github/workflows/test-new-xmake-nightly.yml
index 52e65ae..5df3c1b 100644
--- a/.github/workflows/test-new-xmake-nightly.yml
+++ b/.github/workflows/test-new-xmake-nightly.yml
@@ -20,10 +20,8 @@
         submodules: recursive
     - name: Build latest xmake
       run: |
-        curl -fsSL https://xmake.io/shget.text | bash -s dev
-        ls -lah ~
-        ls ~/.local/bin
-        ls ~/.xmake
+        xmake update dev
+        sudo apt remove -y xmake
     - name: Build tests
       run: |
         ls -lah ~