summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorPProvost <[email protected]>2020-05-14 13:25:27 -0600
committerPProvost <[email protected]>2020-05-14 13:25:27 -0600
commit710a8b8d536f1d3065412d4781cc3b08cd7b8b89 (patch)
tree680ad3c7371006f5ff83b47537d5fd93e35145de /.github/workflows
parent9e56e21def492f83ee5a7390173a042484a4958a (diff)
Scheduled cache updater
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cache-update.yml21
1 files changed, 21 insertions, 0 deletions
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