Răsfoiți Sursa

enable action cache for xmake (#1661)

ruki 2 ani în urmă
părinte
comite
26c063a28d

+ 2 - 1
.github/workflows/android.yml

@@ -23,7 +23,8 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
+          actions-cache-folder: '.xmake-cache'
 
       - name: Prepare
         run: |

+ 2 - 1
.github/workflows/archlinux.yml

@@ -29,7 +29,8 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
+          actions-cache-folder: '.xmake-cache'
 
       - name: Tests
         env:

+ 1 - 1
.github/workflows/cross_musl.yml

@@ -21,7 +21,7 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
 
       - name: Installation
         run: |

+ 2 - 1
.github/workflows/deploy.yml

@@ -17,7 +17,8 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: latest
+          actions-cache-folder: '.xmake-cache'
 
       - name: Install SSH key
         uses: shimataro/ssh-key-action@v2

+ 2 - 1
.github/workflows/fedora.yml

@@ -33,7 +33,8 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
+          actions-cache-folder: '.xmake-cache'
 
       - name: Tests
         env:

+ 2 - 1
.github/workflows/iphoneos.yml

@@ -20,7 +20,8 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
+          actions-cache-folder: '.xmake-cache'
 
       - name: Tests
         run: |

+ 2 - 1
.github/workflows/macos.yml

@@ -21,7 +21,8 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
+          actions-cache-folder: '.xmake-cache'
 
       - name: Tests
         run: |

+ 2 - 1
.github/workflows/mingw_macos.yml

@@ -21,7 +21,8 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
+          actions-cache-folder: '.xmake-cache'
 
       - name: Prepare
         run: |

+ 1 - 1
.github/workflows/monkey_linux.yml

@@ -17,7 +17,7 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
 
       - name: Installation
         run: |

+ 1 - 1
.github/workflows/monkey_macos.yml

@@ -17,7 +17,7 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
 
       - name: Tests
         run: |

+ 1 - 1
.github/workflows/monkey_windows.yml

@@ -19,7 +19,7 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
 
       - name: Configure Pagefile
         uses: al-cheb/[email protected]

+ 2 - 1
.github/workflows/ubuntu.yml

@@ -21,7 +21,8 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
+          actions-cache-folder: '.xmake-cache'
 
       - name: Installation
         run: |

+ 2 - 1
.github/workflows/ubuntu_clang.yml

@@ -21,7 +21,8 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
+          actions-cache-folder: '.xmake-cache'
 
       - name: Installation
         run: |

+ 2 - 1
.github/workflows/wasm_ubuntu.yml

@@ -21,7 +21,8 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
+          actions-cache-folder: '.xmake-cache'
 
       - name: Prepare
         uses: mymindstorm/setup-emsdk@v11

+ 1 - 1
.github/workflows/windows.yml

@@ -24,7 +24,7 @@ jobs:
       - uses: actions/checkout@v1
       - uses: xmake-io/github-action-setup-xmake@v1
         with:
-          xmake-version: branch@dev
+          xmake-version: branch@master
 
       - name: Configure Pagefile
         uses: al-cheb/[email protected]