add cache for windows build

This commit is contained in:
kamuikatsurgi 2025-02-28 12:47:56 +05:30
parent 3be55f8b7d
commit f169f788d7
No known key found for this signature in database

View file

@ -68,7 +68,15 @@ jobs:
- name: Install dependencies on Windows - name: Install dependencies on Windows
run: | run: |
choco install mingw choco install mingw -y
- uses: actions/cache@v3
with:
path: |
${{ env.USERPROFILE }}\go\pkg\mod
${{ env.LOCALAPPDATA }}\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Build - name: Build
run: make all run: make all