mirror of
https://github.com/Slava-Shchipunov/awg-openwrt.git
synced 2026-03-14 01:13:09 +00:00
try fix cache
This commit is contained in:
25
.github/workflows/build-module.yml
vendored
25
.github/workflows/build-module.yml
vendored
@@ -23,33 +23,16 @@ jobs:
|
|||||||
ref: ${{ matrix.tag }}
|
ref: ${{ matrix.tag }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
path: awg-openwrt
|
|
||||||
|
|
||||||
- name: Cache Tools and Kernel
|
- name: Cache Tools and Kernel
|
||||||
id: cache-tools-kernel
|
id: cache-tools-kernel
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
env:
|
env:
|
||||||
cache-name: "cache-tools-kernel-${{ matrix.tag }}-${{ matrix.build_env.pkgarch}}-${{ matrix.build_env.target}}-${{ matrix.build_env.subtarget}}"
|
cache-name: "cache-tools-kernel-${{ matrix.tag }}-${{ matrix.build_env.pkgarch}}-${{ matrix.build_env.target}}-${{ matrix.build_env.subtarget}}"
|
||||||
with:
|
with:
|
||||||
path: |
|
path: .
|
||||||
~/bin/
|
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
||||||
~/build_dir/
|
restore-keys: |
|
||||||
~/staging_dir/
|
${{ runner.os }}-build-
|
||||||
~/dl/
|
|
||||||
~/feeds/
|
|
||||||
~/staging_dir/
|
|
||||||
~/tmp/
|
|
||||||
~/config
|
|
||||||
~/.config
|
|
||||||
~/.config.old
|
|
||||||
~/version
|
|
||||||
~/version.date
|
|
||||||
|
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('awg-openwrt/version.date') }}
|
|
||||||
|
|
||||||
|
|
||||||
- name: Building kernel and tools
|
- name: Building kernel and tools
|
||||||
if: ${{ steps.cache-tools-kernel.outputs.cache-hit != 'true' }}
|
if: ${{ steps.cache-tools-kernel.outputs.cache-hit != 'true' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user