Skip to content

Commit

Permalink
disable cache for FRIGATE_ROOT
Browse files Browse the repository at this point in the history
Signed-off-by: Kareem Farid <[email protected]>
  • Loading branch information
kareefardi committed Feb 26, 2025
1 parent 7a808e5 commit 59d1d4a
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/actions/setup-dependencies/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ runs:
echo "FRIGATE_BRANCH=$(make echo-var VAR=FRIGATE_BRANCH)" >> $GITHUB_ENV
echo "MGMT_BRANCH=$(make echo-var VAR=MGMT_BRANCH)" >> $GITHUB_ENV
echo "OPEN_PDKS_COMMIT=$(make echo-var VAR=OPEN_PDKS_COMMIT)" >> $GITHUB_ENV
- name: Cache FRIGATE
id: cache-FRIGATE
uses: actions/cache/restore@v4
with:
path: ${{env.FRIGATE_ROOT}}
key: FRIGATE-${{env.FRIGATE_BRANCH}}
enableCrossOsArchive: "true"
# - name: Cache FRIGATE
# id: cache-FRIGATE
# uses: actions/cache/restore@v4
# with:
# path: ${{env.FRIGATE_ROOT}}
# key: FRIGATE-${{env.FRIGATE_BRANCH}}
# enableCrossOsArchive: "true"
- name: Cache mgmt
id: cache-mgmt
uses: actions/cache/restore@v4
Expand All @@ -42,11 +42,12 @@ runs:
path: ${{env.PDK_ROOT}}
key: pdk-${{env.OPEN_PDKS_COMMIT}}
enableCrossOsArchive: "true"
- name: Download FRIGATE
shell: bash
if: ${{ steps.cache-FRIGATE.outputs.cache-hit != 'true' && inputs.cache-only != 'true' }}
run: |
make install-frigate
# - name: Download FRIGATE
# shell: bash
# if: ${{ steps.cache-FRIGATE.outputs.cache-hit != 'true' && inputs.cache-only != 'true' }}
# run: |
# rm -rf ${{ env.FRIGATE_ROOT }}
# make install-frigate
- name: Download mgmt
shell: bash
if: ${{ steps.cache-mgmt.outputs.cache-hit != 'true' && inputs.cache-only != 'true' }}
Expand Down

0 comments on commit 59d1d4a

Please sign in to comment.