From 3bc95acf7bc987d065c66d1ff2a66454cd9cf1cc Mon Sep 17 00:00:00 2001 From: Simon Pribylski Date: Sun, 11 Aug 2024 18:54:25 +0200 Subject: [PATCH] Update .gitea/workflows/linux.yml --- .gitea/workflows/linux.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/linux.yml b/.gitea/workflows/linux.yml index 89af05c..643d2c5 100644 --- a/.gitea/workflows/linux.yml +++ b/.gitea/workflows/linux.yml @@ -16,25 +16,14 @@ 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 }} + path: ${{ github.workspace }}/build/.packages + key: ${{ runner.os }}-xmake_cache - name: XMake config - run: xmake f --policies=package.install_only -p linux -y + run: xmake f -p linux -y - name: Build run: xmake