Skip to content

Commit

Permalink
[enhancement] add build cache crontab changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Haldir65 committed Jul 3, 2024
1 parent 72d1217 commit d5daad8
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/automate_build_of_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: multiarch build on dispatch
on:
workflow_dispatch:
schedule:
- cron: "0 */12 * * *" ## every 12 hours
- cron: "17 1 * * *" ## at 01:17


jobs:
Expand Down Expand Up @@ -54,6 +54,16 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
ref: 'master'
path: ronan
- name: Cache Boost artifact
id: cache-boost
uses: actions/cache@v4
with:
path: ronan/cmake/vendor/boost-1.85.0-cmake.tar.xz
key: ${{ runner.os }}-boost-1.85.0

- name: Retrieve boost cache
if: steps.cache-boost.outputs.cache-hit != 'true'
run: echo "boost cache is not found locally"

- name: Install LLVM and Clang on linux
if: startsWith(matrix.target.id, 'linux-')
Expand Down Expand Up @@ -176,7 +186,15 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
ref: 'master'
path: ronan

- name: Cache Boost artifact
id: cache-boost
uses: actions/cache@v4
with:
path: ronan/cmake/vendor/boost-1.85.0-cmake.tar.xz
key: ${{ runner.os }}-boost-1.85.0
- name: Retrieve boost cache
if: steps.cache-boost.outputs.cache-hit != 'true'
run: echo "boost cache is not found locally"
- name: install dependency on debian
shell: bash
run: |
Expand Down

0 comments on commit d5daad8

Please sign in to comment.