Fix bashism.
diff --git a/.github/workflows/test-new-xmake-nightly.yml b/.github/workflows/test-new-xmake-nightly.yml
index c934335..3739e57 100644
--- a/.github/workflows/test-new-xmake-nightly.yml
+++ b/.github/workflows/test-new-xmake-nightly.yml
@@ -23,7 +23,7 @@
         curl -fsSL https://xmake.io/shget.text | bash -s dev
     - name: Build tests
       run: |
-        source ~/.xmake/profile
+        . ~/.xmake/profile
         which xmake
         xmake --version
         cd tests
@@ -31,7 +31,7 @@
         xmake
     - name: Run tests
       run: |
-        source ~/.xmake/profile
+        . ~/.xmake/profile
         xmake --version
         cd tests
         xmake run