1
0
mirror of https://github.com/arduino/library-registry.git synced 2025-07-05 21:21:14 +03:00

Merge pull request #8 from arduino/remove-cache

Remove dependencies caching from workflows
This commit is contained in:
per1234
2021-04-13 06:49:17 -07:00
committed by GitHub
2 changed files with 0 additions and 26 deletions

View File

@ -35,19 +35,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
- name: Get week number for use in cache key
id: get-date
run: |
echo "::set-output name=week-number::$(date --utc '+%V')"
- name: Load dependencies cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-markdown-toc-${{ steps.get-date.outputs.week-number }}
restore-keys: |
${{ runner.os }}-node-markdown-toc-
- name: Install markdown-toc
run: sudo npm install --global markdown-toc

View File

@ -33,19 +33,6 @@ jobs:
location: ${{ runner.temp }}/github-workflow-schema
file-name: github-workflow.json
- name: Get week number for use in cache key
id: get-date
run: |
echo "::set-output name=week-number::$(date --utc '+%V')"
- name: Load dependencies cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-ajv-cli-${{ steps.get-date.outputs.week-number }}
restore-keys: |
${{ runner.os }}-node-ajv-cli-
- name: Install JSON schema validator
run: sudo npm install --global ajv-cli