forked from Deducteam/lambdapi
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 819 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
on:
pull_request:
types: [opened, synchronize, edited, reopened]
push:
workflow_dispatch:
jobs:
build_vscode_extension:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: checking out lambdapi repo ...
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: latest
- name: generate-vscode-extension
run: |
npm install -g @types/vscode
npm install -g vsce
make build-vscode-extension
make publish-vscode-extension
env:
PAT: ${{secrets.PAT}}
- name: publish vscode extension
uses: actions/upload-artifact@v4
with:
name: assets-for-download
path: editors/vscode/extensionFolder