-
Notifications
You must be signed in to change notification settings - Fork 36
43 lines (43 loc) · 1.45 KB
/
publish-vsx-specific-latest.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
31
32
33
34
35
36
37
38
39
40
41
42
43
name: ovsx-solid---publish-vscode-built-in-extensions-specific-version
on:
push:
branches:
- ovsx-publish
env:
NODE_OPTIONS: --max-old-space-size=8192
jobs:
linux:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OVSX_PAT: ${{ secrets.OVSX_PAT}}
steps:
- uses: actions/checkout@v1
- run: |
git submodule init
git submodule update
name: Checkout VS Code
# should be aligned with https://github.com/microsoft/vscode/blob/8031c495a65de120560d27703c415eb44c3a99a1/.github/workflows/ci.yml#L22-L32
- run: |
sudo apt-get update
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0
sudo cp vscode/build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
sudo chmod +x /etc/init.d/xvfb
sudo update-rc.d xvfb defaults
sudo service xvfb start
name: Setup Build Environment
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npx ovsx --version
name: Check ovsx version
- run: |
yarn
yarn build:extensions
name: Bundle Extensions
- run: yarn package-vsix:latest
name: Package Solid Version of Extensions
- run: yarn create-extension-pack:latest
name: Create built-in extensions pack
- run: yarn publish:vsix
name: Publish Extensions to open-vsx.org