From 710a8b8d536f1d3065412d4781cc3b08cd7b8b89 Mon Sep 17 00:00:00 2001 From: PProvost Date: Thu, 14 May 2020 13:25:27 -0600 Subject: [PATCH] Scheduled cache updater --- .github/workflows/cache-update.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/cache-update.yml diff --git a/.github/workflows/cache-update.yml b/.github/workflows/cache-update.yml new file mode 100644 index 00000000..30928a99 --- /dev/null +++ b/.github/workflows/cache-update.yml @@ -0,0 +1,21 @@ +name: cache-update + +on: + schedule: + - cron: '*/30 * * * *' # every 30m for testing + +jobs: + # Cache location for arm tools + - name: Cache arm-none-eabi-gcc tools + id: cache-arm-gcc + uses: actions/cache@v1 + with: + path: $HOME/arm-none-eabi-gcc-9-2019-q4 + key: ${{ runner.os }}-arm-gcc-9-2019-q4 + + # Get the arm-non-eabi-gcc toolchain + - name: Install arm-none-eabi-gcc + uses: fiam/arm-none-eabi-gcc@v1 + with: + release: '9-2019-q4' # The arm-none-eabi-gcc release to use. + directory: $HOME/arm-none-eabi-gcc-9-2019-q4