Skip to content

Remove dependencies caching from workflows #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .github/workflows/check-toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/check-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down