From 5858ea5cbea36b53fe1592d444628141fc4c488a Mon Sep 17 00:00:00 2001 From: Simon Pribylski Date: Sun, 11 Aug 2024 17:21:17 +0200 Subject: [PATCH] global xmake package cache --- .gitea/workflows/linux.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.gitea/workflows/linux.yml b/.gitea/workflows/linux.yml index 89af05c..9dec67f 100644 --- a/.gitea/workflows/linux.yml +++ b/.gitea/workflows/linux.yml @@ -16,22 +16,11 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 - - name: Packages List - run : | - xmake show -l packages | grep -E 'require|project' > ${{ github.workspace }}/packages.txt - cat ${{ github.workspace }}/packages.txt - - - name: Calc deps hash - uses: seepine/hash-files@v1 - id: get-hash - with: - patterns: 'packages.txt' - - name: Packages cache uses: actions/cache@v4 with: path: ~/.xmake/packages - key: ${{ runner.os }}-${{ steps.get-hash.outputs.hash }} + key: ${{ runner.os }}-xmake_cache - name: XMake config run: xmake f --policies=package.install_only -p linux -y