-
-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (37 loc) · 1.33 KB
/
publish.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
44
45
46
47
48
49
name: Build & Deploy 🧬🚀
on:
release:
types: [created]
jobs:
build:
runs-on: windows-latest
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install VSCE
run: npm i -g vsce
shell: bash
- name: Setup Git User
run: git config --global user.email "[email protected]" && git config --global user.name "Leandro Simões"
shell: bash
- name: Create Projects Folder
run: mkdir Projects
shell: bash
- name: Clone Project
working-directory: Projects
run: git clone https://${{ secrets.AUTH_TOKEN }}:[email protected]/leandrosimoes/project-urls-manager-vscode-extension.git --progress --single-branch --branch master
shell: bash
- name: Install Packages
working-directory: Projects\project-urls-manager-vscode-extension
run: npm i
shell: bash
- name: Package Extension
working-directory: Projects\project-urls-manager-vscode-extension
run: vsce package
shell: bash
- name: Publish Extension
working-directory: Projects\project-urls-manager-vscode-extension
run: vsce publish -p ${{ secrets.VSCE_TOKEN }}
shell: bash