Skip to content

Instantly share code, notes, and snippets.

@brettcannon
Created January 24, 2020 22:56
Show Gist options
  • Save brettcannon/f722ee69c5b3de69c2b0c4feba026deb to your computer and use it in GitHub Desktop.
Save brettcannon/f722ee69c5b3de69c2b0c4feba026deb to your computer and use it in GitHub Desktop.
GitHub Actions steps to cache VS Code stable when running extension tests
- name: Get VS Code versions
run: curl --output vscode-stable-versions.json https://update.code.visualstudio.com/api/releases/stable
- uses: actions/cache@v1
with:
path: .vscode-test/
key: ${{ runner.os }}-vscode-test-${{ hashFiles('vscode-stable-versions.json') }}
restore-keys: |
${{ runner.os }}-vscode-test-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment