-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathaction.yml
More file actions
19 lines (18 loc) · 623 Bytes
/
action.yml
File metadata and controls
19 lines (18 loc) · 623 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: 'vscode-webdriverio Cache vscode'
description: 'cache the vscode for CI (Use after `pnpm install`)'
inputs:
path:
description: 'location to cache'
runs:
using: 'composite'
steps:
- name: 🪄 Generate cache key
id: generate-key
run: pnpm --filter @vscode-wdio/release run cache-key
shell: bash
- name: 🗃️ Use cached vscode
if: ${{ steps.generate-key.outputs.vscode-cache-key != '' }}
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: ${{ inputs.path }}
key: ${{ steps.generate-key.outputs.vscode-cache-key }}