1name: cache-update
2
3on:
4  schedule:
5    - cron: '0 0 */3 * *' # every 30m for testing
6
7# A workflow run is made up of one or more jobs that can run sequentially or in parallel
8jobs:
9  # This workflow contains a single job called "build"
10  build:
11    # The type of runner that the job will run on
12    runs-on: ubuntu-latest
13
14    # Steps represent a sequence of tasks that will be executed as part of the job
15    steps:    # Cache location for arm tools
16    - name: Cache arm-none-eabi-gcc tools
17      id: cache-arm-gcc
18      uses: actions/cache@v1
19      with:
20        path: $HOME/arm-none-eabi-gcc-9-2019-q4
21        key: ${{ runner.os }}-arm-gcc-9-2019-q4
22
23    # Get the arm-non-eabi-gcc toolchain
24    - name: Install arm-none-eabi-gcc
25      uses: fiam/arm-none-eabi-gcc@v1
26      with:
27          release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
28          directory: $HOME/arm-none-eabi-gcc-9-2019-q4
29