Skip to content

Commit 85053aa

Browse files
committed
2 parents 4182f7d + 1c53085 commit 85053aa

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

.github/workflows/main.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# name: Release all pdf
2+
# on:
3+
# release:
4+
# types:
5+
# - created
6+
7+
# jobs:
8+
# build_latex:
9+
# runs-on: ubuntu-latest
10+
# steps:
11+
# - name: Set up Git repository
12+
# uses: actions/checkout@v2
13+
# - name: Compile LaTeX document
14+
# uses: dante-ev/latex-action@latest
15+
# with:
16+
# working_directory: comunicazioni_numeriche/
17+
# root_file: main.tex
18+
19+
# - run: mkdir out/
20+
# - run: mv comunicazioni_numeriche/main.pdf out/Comunicazioni_Numeriche.pdf
21+
22+
23+
24+
name: Release VSIX
25+
on:
26+
release:
27+
types:
28+
- created
29+
30+
jobs:
31+
build:
32+
runs-on: ubuntu-latest
33+
34+
steps:
35+
- name: Checkout code
36+
uses: actions/checkout@v2
37+
38+
- name: Setup Node.js environment
39+
uses: actions/setup-node@v2
40+
with:
41+
node-version: '14'
42+
43+
- name: Install dependencies
44+
run: yarn install
45+
working-directory: nucleo-debugger
46+
- name: Install vsce
47+
run: yarn global add vsce
48+
working-directory: nucleo-debugger
49+
50+
- name: Build VSIX package
51+
run: vsce package
52+
working-directory: nucleo-debugger
53+
54+
- name: Release build-artifacts
55+
uses: skx/github-action-publish-binaries@master
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
with:
59+
args: "./nucleo-debugger/*.vsix"

0 commit comments

Comments
 (0)