-
Notifications
You must be signed in to change notification settings - Fork 21
36 lines (31 loc) · 943 Bytes
/
ci.yaml
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
31
32
33
34
35
36
on:
release:
types: [created]
jobs:
release:
name: Release and publish
runs-on: ubuntu-latest
steps:
# Setup prereqs
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: actions/checkout@v3
- run: npm install
- run: npm install -g vsce
# Create and publish build to Marketplace
- name: Publish to Marketplace
run: vsce publish -p $PUBLISHER_TOKEN
env:
PUBLISHER_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
# Create and publish build to OpenVSX
- name: Publish to Open VSX
run: npx ovsx publish -p ${{ secrets.OPENVSX_TOKEN }}
# Create linter only build
- name: Create linter only build (Merlin)
run: npm run package:linter
- name: Upload build
uses: actions/upload-artifact@v2
with:
name: vscode-rpgle-linter-only
path: ./*.vsix