ci(release test):cache with sh & gh yml
This commit is contained in:
4
.github/workflows/release-build.yml
vendored
4
.github/workflows/release-build.yml
vendored
@@ -19,8 +19,8 @@ jobs:
|
|||||||
- name: Calculate cache keys
|
- name: Calculate cache keys
|
||||||
id: cache-keys
|
id: cache-keys
|
||||||
run: |
|
run: |
|
||||||
DARWIN_KEY="darwin-sysroot-${{ hashFiles('.github/workflows/populate_darwin_sysroot.sh') }}-0.0.5"
|
DARWIN_KEY="darwin-sysroot-${{ hashFiles('.github/workflows/populate_darwin_sysroot.sh', '.github/workflows/release-build.yml') }}"
|
||||||
LINUX_KEY="linux-sysroot-${{ hashFiles('.github/workflows/populate_linux_sysroot.sh') }}-0.0.7"
|
LINUX_KEY="linux-sysroot-${{ hashFiles('.github/workflows/populate_linux_sysroot.sh', '.github/workflows/release-build.yml') }}"
|
||||||
echo "darwin-key=$DARWIN_KEY" >> $GITHUB_OUTPUT
|
echo "darwin-key=$DARWIN_KEY" >> $GITHUB_OUTPUT
|
||||||
echo "linux-key=$LINUX_KEY" >> $GITHUB_OUTPUT
|
echo "linux-key=$LINUX_KEY" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user