You've already forked library-registry
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:
13
.github/workflows/check-toc.yml
vendored
13
.github/workflows/check-toc.yml
vendored
@ -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
|
||||
|
||||
|
13
.github/workflows/check-workflows.yml
vendored
13
.github/workflows/check-workflows.yml
vendored
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user