Skip to content

Commit

Permalink
ci: update json-extension pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed Aug 14, 2023
1 parent 8b448d8 commit af9c62d
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/json-extension.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: JSON language server
name: vscode-playground

on:
- push
Expand All @@ -11,7 +11,7 @@ jobs:
defaults:
run:
shell: bash
working-directory: examples/json-vscode-extension
working-directory: examples/vscode-playground

steps:
- uses: actions/checkout@v2
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('examples/json-vscode-extension/package-lock.json') }}
key: ${{ runner.os }}-node-${{ hashFiles('examples/vscode-playground/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
Expand Down Expand Up @@ -63,15 +63,12 @@ jobs:
run: |
npx vsce ls | grep package.json
npx vsce ls | grep out/extension.js
npx vsce ls | grep server/__init__.py
npx vsce ls | grep server/__main__.py
npx vsce ls | grep server/server.py
- name: Upload VSIX
uses: actions/upload-artifact@v2
with:
name: json-extension-vsix
name: vscode-playground-vsix
# The path must be rooted from the directory GitHub Actions starts
# from, not the working-directory.
path: examples/json-vscode-extension/*.vsix
path: examples/vscode-playground/*.vsix
if-no-files-found: error

0 comments on commit af9c62d

Please sign in to comment.