diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 685eba3..84a0c75 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -2,7 +2,7 @@ name: Daily Make and Commit on: schedule: - - cron: '0 0 * * *' + - cron: '0 21 * * *' jobs: build: @@ -17,15 +17,16 @@ jobs: - name: Set up cache uses: actions/cache@v2 with: - path: ~/.cache + path: | + ~/.cache + ~/.local key: ${{ runner.os }}-cache-${{ hashFiles('**/makefile') }} restore-keys: | ${{ runner.os }}-cache- - name: Set up environment run: | - sudo apt-get update - sudo apt-get install -y make + sudo apt-get update && sudo apt-get install -y make - name: Run make run: make