Add tde2e version to cache key in macOS packaged action

This commit is contained in:
Ilya Fedin
2026-01-16 15:58:32 +04:00
committed by John Preston
parent bbd865ddec
commit fb90685a7c
+3 -2
View File
@@ -50,6 +50,7 @@ jobs:
env: env:
GIT: "https://github.com" GIT: "https://github.com"
CMAKE_PREFIX_PATH: "/opt/homebrew/opt/ffmpeg@6:/opt/homebrew/opt/openal-soft" CMAKE_PREFIX_PATH: "/opt/homebrew/opt/ffmpeg@6:/opt/homebrew/opt/openal-soft"
TDE2E: "51743dfd01dff6179e2d8f7095729caa4e2222e9"
UPLOAD_ARTIFACT: "true" UPLOAD_ARTIFACT: "true"
ONLY_CACHE: "false" ONLY_CACHE: "false"
MANUAL_CACHING: "1" MANUAL_CACHING: "1"
@@ -125,7 +126,7 @@ jobs:
uses: actions/cache@v5 uses: actions/cache@v5
with: with:
path: ${{ env.LibrariesPath }}/tde2e path: ${{ env.LibrariesPath }}/tde2e
key: ${{ runner.OS }}-tde2e-${{ env.CACHE_KEY }} key: ${{ runner.OS }}-tde2e-${{ env.TDE2E }}-${{ env.CACHE_KEY }}
- name: TDE2E. - name: TDE2E.
if: steps.cache-tde2e.outputs.cache-hit != 'true' if: steps.cache-tde2e.outputs.cache-hit != 'true'
run: | run: |
@@ -134,7 +135,7 @@ jobs:
git init tde2e git init tde2e
cd tde2e cd tde2e
git remote add origin $GIT/tdlib/td.git git remote add origin $GIT/tdlib/td.git
git fetch --depth=1 origin 51743dfd01dff6179e2d8f7095729caa4e2222e9 git fetch --depth=1 origin $TDE2E
git reset --hard FETCH_HEAD git reset --hard FETCH_HEAD
cmake -Bbuild -GNinja . \ cmake -Bbuild -GNinja . \