From f7a06a635df0623e095d21032b19b9e7731a6fcc Mon Sep 17 00:00:00 2001 From: Zumi Daxuya Date: Thu, 9 May 2024 19:32:04 +0700 Subject: [PATCH] [ci] cache asmotor --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc3d0c8..eb1214d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,15 @@ jobs: with: python-version: 3.8 + - name: Cache ASMotor + id: cache-asmotor + uses: actions/cache@v4 + with: + path: motor-bin + key: ${{ runner.os }}-asmotor-1.3rc + - name: Setup ASMotor + if: ${{ steps.cache-asmotor.outputs.cache-hit != 'true' }} run: | mkdir motor-bin cd motor-bin