Skip to content

Commit

Permalink
Feature cache packages (#10)
Browse files Browse the repository at this point in the history
* Try to cache choco packages

* Insert chache in ql workflow

* Cache all specific folder of choco

* Just cache temp folder for chocolatery packages

* Brew cache for macos
More generic cache names for windows

* Insert updated caches to codeql workflows

* Fix macos brew cache path

* Try to cache the complete brew path

* Remove brew dependencies
  • Loading branch information
florianbecker authored Nov 22, 2023
1 parent 46404d7 commit 957810b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/windows-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ jobs:
with:
arch: ${{matrix.architecture}}

- name: Cache Dependencies
id: cache-choco
uses: actions/cache@v3
env:
cache-name: cache-choco-packages
with:
path: C:/Users/runneradmin/AppData/Local/Temp/chocolatey
key: ${{env.cache-name}}

- name: Dependencies
run: |
choco install doxygen.install graphviz ninja -y
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ jobs:
with:
arch: ${{matrix.architecture}}

- name: Cache Dependencies
id: cache-choco
uses: actions/cache@v3
env:
cache-name: cache-choco-packages
with:
path: C:/Users/runneradmin/AppData/Local/Temp/chocolatey
key: ${{env.cache-name}}

- name: Dependencies
run: |
choco install doxygen.install graphviz ninja -y
Expand Down

0 comments on commit 957810b

Please sign in to comment.